withExtras method Null safety

Config withExtras(
  1. Json extras
)

Returns the defaultConfig with the provided extras

Implementation

static Config withExtras(Json extras) {
  final config = defaultConfig;
  config.extras = extras;
  return config;
}