Targeting.fromJson constructor

Targeting.fromJson(
  1. Map json_
)

Implementation

Targeting.fromJson(core.Map json_)
    : this(
        allUsers: json_.containsKey('allUsers')
            ? AllUsers.fromJson(
                json_['allUsers'] as core.Map<core.String, core.dynamic>)
            : null,
        androidSdks: json_.containsKey('androidSdks')
            ? AndroidSdks.fromJson(
                json_['androidSdks'] as core.Map<core.String, core.dynamic>)
            : null,
        regions: json_.containsKey('regions')
            ? Regions.fromJson(
                json_['regions'] as core.Map<core.String, core.dynamic>)
            : null,
        versionList: json_.containsKey('versionList')
            ? AppVersionList.fromJson(
                json_['versionList'] as core.Map<core.String, core.dynamic>)
            : null,
        versionRange: json_.containsKey('versionRange')
            ? AppVersionRange.fromJson(
                json_['versionRange'] as core.Map<core.String, core.dynamic>)
            : null,
      );