Environment constructor

Environment({
  1. String? name,
  2. String? displayName,
  3. String? description,
  4. Timestamp? updateTime,
  5. Iterable<Environment_VersionConfig>? versionConfigs,
})

Implementation

factory Environment({
  $core.String? name,
  $core.String? displayName,
  $core.String? description,
  $21.Timestamp? updateTime,
  $core.Iterable<Environment_VersionConfig>? versionConfigs,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (description != null) {
    _result.description = description;
  }
  if (updateTime != null) {
    _result.updateTime = updateTime;
  }
  if (versionConfigs != null) {
    _result.versionConfigs.addAll(versionConfigs);
  }
  return _result;
}