toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (existingDisk != null) 'existingDisk': existingDisk!,
      if (nfsMount != null) 'nfsMount': nfsMount!,
      if (persistentDisk != null) 'persistentDisk': persistentDisk!,
      if (volume != null) 'volume': volume!,
    };