TechnologyTargeting.fromJson constructor

TechnologyTargeting.fromJson(
  1. Map json_
)

Implementation

TechnologyTargeting.fromJson(core.Map json_)
    : this(
        browsers: json_.containsKey('browsers')
            ? (json_['browsers'] as core.List)
                .map((value) => Browser.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        connectionTypes: json_.containsKey('connectionTypes')
            ? (json_['connectionTypes'] as core.List)
                .map((value) => ConnectionType.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        mobileCarriers: json_.containsKey('mobileCarriers')
            ? (json_['mobileCarriers'] as core.List)
                .map((value) => MobileCarrier.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        operatingSystemVersions: json_.containsKey('operatingSystemVersions')
            ? (json_['operatingSystemVersions'] as core.List)
                .map((value) => OperatingSystemVersion.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        operatingSystems: json_.containsKey('operatingSystems')
            ? (json_['operatingSystems'] as core.List)
                .map((value) => OperatingSystem.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        platformTypes: json_.containsKey('platformTypes')
            ? (json_['platformTypes'] as core.List)
                .map((value) => PlatformType.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );