Version constructor

Version({
  1. String? name,
  2. String? displayName,
  3. String? description,
  4. NluSettings? nluSettings,
  5. Timestamp? createTime,
  6. Version_State? state,
})

Implementation

factory Version({
  $core.String? name,
  $core.String? displayName,
  $core.String? description,
  $3.NluSettings? nluSettings,
  $21.Timestamp? createTime,
  Version_State? state,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (description != null) {
    _result.description = description;
  }
  if (nluSettings != null) {
    _result.nluSettings = nluSettings;
  }
  if (createTime != null) {
    _result.createTime = createTime;
  }
  if (state != null) {
    _result.state = state;
  }
  return _result;
}