ParameterChangeProposal constructor

ParameterChangeProposal({
  1. String? title,
  2. String? description,
  3. Iterable<ParamChange>? changes,
})

Implementation

factory ParameterChangeProposal({
  $core.String? title,
  $core.String? description,
  $core.Iterable<ParamChange>? changes,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (changes != null) {
    _result.changes.addAll(changes);
  }
  return _result;
}