toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deviceName = this.deviceName;
  final ebs = this.ebs;
  final noDevice = this.noDevice;
  final virtualName = this.virtualName;
  return {
    if (deviceName != null) 'DeviceName': deviceName,
    if (ebs != null) 'Ebs': ebs,
    if (noDevice != null) 'NoDevice': noDevice,
    if (virtualName != null) 'VirtualName': virtualName,
  };
}