ScreenDensityTargeting.fromJson constructor

ScreenDensityTargeting.fromJson(
  1. Map json_
)

Implementation

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