DeviceInfo.fromJson constructor

DeviceInfo.fromJson(
  1. Map json_
)

Implementation

DeviceInfo.fromJson(core.Map json_)
    : this(
        deviceType: json_.containsKey('deviceType')
            ? json_['deviceType'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
      );