getInstance static method
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];
}