$OmnitureSettings.fromJson constructor Null safety

$OmnitureSettings.fromJson(
  1. Map _json
)

Implementation

$OmnitureSettings.fromJson(core.Map _json)
    : this(
        omnitureCostDataEnabled: _json.containsKey('omnitureCostDataEnabled')
            ? _json['omnitureCostDataEnabled'] as core.bool
            : null,
        omnitureIntegrationEnabled:
            _json.containsKey('omnitureIntegrationEnabled')
                ? _json['omnitureIntegrationEnabled'] as core.bool
                : null,
      );