getInstance static method

Isar? getInstance([
  1. String name = defaultName
])

Returns an Isar instance opened in the current isolate by its name. If no name is provided, the default instance is returned.

Implementation

static Isar? getInstance([String name = defaultName]) {
  return _instances[name];
}