toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (diskName != null) 'diskName': diskName!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (diskType != null) 'diskType': diskType!,
      if (labels != null) 'labels': labels!,
    };