SparseVectorConfig constructor

SparseVectorConfig({
  1. Iterable<MapEntry<String, SparseVectorParams>>? map,
})

Implementation

factory SparseVectorConfig({
  $core.Iterable<$core.MapEntry<$core.String, SparseVectorParams>>? map,
}) {
  final $result = create();
  if (map != null) {
    $result.map.addEntries(map);
  }
  return $result;
}