SearchFields constructor

SearchFields({
  1. Map<String, double>? doubleArgs,
  2. Map<String, String>? stringArgs,
  3. Iterable<String>? tags,
})

Implementation

factory SearchFields({
  $core.Map<$core.String, $core.double>? doubleArgs,
  $core.Map<$core.String, $core.String>? stringArgs,
  $core.Iterable<$core.String>? tags,
}) {
  final _result = create();
  if (doubleArgs != null) {
    _result.doubleArgs.addAll(doubleArgs);
  }
  if (stringArgs != null) {
    _result.stringArgs.addAll(stringArgs);
  }
  if (tags != null) {
    _result.tags.addAll(tags);
  }
  return _result;
}