DeviceTier.fromJson constructor

DeviceTier.fromJson(
  1. Map json_
)

Implementation

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