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