toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (gcpService != null) 'gcpService': gcpService!,
  if (id != null) 'id': id!,
  if (lunRanges != null) 'lunRanges': lunRanges!,
  if (machineIds != null) 'machineIds': machineIds!,
  if (name != null) 'name': name!,
  if (nfsExports != null) 'nfsExports': nfsExports!,
  if (performanceTier != null) 'performanceTier': performanceTier!,
  if (protocol != null) 'protocol': protocol!,
  if (sizeGb != null) 'sizeGb': sizeGb!,
  if (snapshotsEnabled != null) 'snapshotsEnabled': snapshotsEnabled!,
  if (type != null) 'type': type!,
  if (userNote != null) 'userNote': userNote!,
};