toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deviceName != null) 'deviceName': deviceName!,
      if (diskName != null) 'diskName': diskName!,
      if (diskType != null) 'diskType': diskType!,
      if (encryption != null) 'encryption': encryption!,
      if (image != null) 'image': image!,
    };