toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (diskType != null) 'diskType': diskType!,
      if (mountPoint != null) 'mountPoint': mountPoint!,
      if (sizeGb != null) 'sizeGb': sizeGb!,
    };