DeviceTierSet.fromJson constructor

DeviceTierSet.fromJson(
  1. Map json_
)

Implementation

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