MatchProfile constructor

MatchProfile({
  1. String? name,
  2. Iterable<Pool>? pools,
  3. Map<String, Any>? extensions,
})

Implementation

factory MatchProfile({
  $core.String? name,
  $core.Iterable<Pool>? pools,
  $core.Map<$core.String, $8.Any>? extensions,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (pools != null) {
    _result.pools.addAll(pools);
  }
  if (extensions != null) {
    _result.extensions.addAll(extensions);
  }
  return _result;
}