toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (deviceId != null) {
    _json[r'deviceId'] = deviceId;
  }
  if (uuid != null) {
    _json[r'uuid'] = uuid;
  }
  return _json;
}