ResourceStatus constructor

ResourceStatus({
  1. ResourceName? name,
  2. ResourceStatus_State? state,
  3. Timestamp? lastUpdated,
  4. String? revision,
  5. String? error,
})

Implementation

factory ResourceStatus({
  $14.ResourceName? name,
  ResourceStatus_State? state,
  $44.Timestamp? lastUpdated,
  $core.String? revision,
  $core.String? error,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (state != null) {
    $result.state = state;
  }
  if (lastUpdated != null) {
    $result.lastUpdated = lastUpdated;
  }
  if (revision != null) {
    $result.revision = revision;
  }
  if (error != null) {
    $result.error = error;
  }
  return $result;
}