VariantTargeting.fromJson constructor

VariantTargeting.fromJson(
  1. Map json_
)

Implementation

VariantTargeting.fromJson(core.Map json_)
    : this(
        abiTargeting: json_.containsKey('abiTargeting')
            ? AbiTargeting.fromJson(
                json_['abiTargeting'] as core.Map<core.String, core.dynamic>)
            : null,
        multiAbiTargeting: json_.containsKey('multiAbiTargeting')
            ? MultiAbiTargeting.fromJson(json_['multiAbiTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        screenDensityTargeting: json_.containsKey('screenDensityTargeting')
            ? ScreenDensityTargeting.fromJson(json_['screenDensityTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        sdkVersionTargeting: json_.containsKey('sdkVersionTargeting')
            ? SdkVersionTargeting.fromJson(json_['sdkVersionTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        textureCompressionFormatTargeting:
            json_.containsKey('textureCompressionFormatTargeting')
                ? TextureCompressionFormatTargeting.fromJson(
                    json_['textureCompressionFormatTargeting']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );