init<T> static method

IndexProvider init<T>(
  1. int capacity, {
  2. String name = "auto",
})

Implementation

static IndexProvider init<T>(int capacity, {String name = "auto"}) {
  return _proxy[name] ??= IndexProvider._(name, capacity);
}