toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deviceName = this.deviceName;
  final deviceType = this.deviceType;
  return {
    'deviceName': deviceName,
    'deviceType': deviceType,
  };
}