ClaimDeviceResponse.fromJson constructor

ClaimDeviceResponse.fromJson(
  1. Map json_
)

Implementation

ClaimDeviceResponse.fromJson(core.Map json_)
    : this(
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        deviceName: json_.containsKey('deviceName')
            ? json_['deviceName'] as core.String
            : null,
      );