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 (etag != null) 'etag': etag!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (stateMessage != null) 'stateMessage': stateMessage!,
      if (targetPvc != null) 'targetPvc': targetPvc!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (volumeBackup != null) 'volumeBackup': volumeBackup!,
      if (volumeHandle != null) 'volumeHandle': volumeHandle!,
      if (volumeType != null) 'volumeType': volumeType!,
    };