NewDeviceEvent.fromJson constructor

NewDeviceEvent.fromJson(
  1. Map json_
)

Implementation

NewDeviceEvent.fromJson(core.Map json_)
    : this(
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        dpcPackageName: json_.containsKey('dpcPackageName')
            ? json_['dpcPackageName'] as core.String
            : null,
        managementType: json_.containsKey('managementType')
            ? json_['managementType'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );