ScreenDensityTargeting.fromJson constructor

ScreenDensityTargeting.fromJson(
  1. Map json_
)

Implementation

ScreenDensityTargeting.fromJson(core.Map json_)
    : this(
        alternatives: json_.containsKey('alternatives')
            ? (json_['alternatives'] as core.List)
                .map((value) => ScreenDensity.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.List)
                .map((value) => ScreenDensity.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );