toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedClients != null) 'allowedClients': allowedClients!,
      if (id != null) 'id': id!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (nfsShareId != null) 'nfsShareId': nfsShareId!,
      if (pod != null) 'pod': pod!,
      if (requestedSizeGib != null) 'requestedSizeGib': requestedSizeGib!,
      if (state != null) 'state': state!,
      if (storageType != null) 'storageType': storageType!,
      if (volume != null) 'volume': volume!,
    };