toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completeTime != null) 'completeTime': completeTime!,
      if (createTime != null) 'createTime': createTime!,
      if (diskSizeBytes != null) 'diskSizeBytes': diskSizeBytes!,
      if (etag != null) 'etag': etag!,
      if (format != null) 'format': format!,
      if (name != null) 'name': name!,
      if (sourcePvc != null) 'sourcePvc': sourcePvc!,
      if (state != null) 'state': state!,
      if (stateMessage != null) 'stateMessage': stateMessage!,
      if (storageBytes != null) 'storageBytes': storageBytes!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (volumeBackupHandle != null)
        'volumeBackupHandle': volumeBackupHandle!,
    };