DeviceTier.fromJson constructor

DeviceTier.fromJson(
  1. Map json_
)

Implementation

DeviceTier.fromJson(core.Map json_)
    : this(
        deviceGroupNames: json_.containsKey('deviceGroupNames')
            ? (json_['deviceGroupNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        level: json_.containsKey('level') ? json_['level'] as core.int : null,
      );