Environment constructor

Environment({
  1. String? name,
  2. String? description,
  3. String? agentVersion,
  4. Environment_State? state,
  5. Timestamp? updateTime,
})

Implementation

factory Environment({
  $core.String? name,
  $core.String? description,
  $core.String? agentVersion,
  Environment_State? state,
  $22.Timestamp? updateTime,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (description != null) {
    _result.description = description;
  }
  if (agentVersion != null) {
    _result.agentVersion = agentVersion;
  }
  if (state != null) {
    _result.state = state;
  }
  if (updateTime != null) {
    _result.updateTime = updateTime;
  }
  return _result;
}