TechnologyTargeting.fromJson constructor

TechnologyTargeting.fromJson(
  1. Map json_
)

Implementation

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