toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (capacityGb != null) 'capacityGb': capacityGb!,
      if (name != null) 'name': name!,
      if (nfsExportOptions != null) 'nfsExportOptions': nfsExportOptions!,
      if (sourceBackup != null) 'sourceBackup': sourceBackup!,
    };