detach method

  1. @override
void detach(
  1. String dbAlias
)
override

Implementation

@override
void detach(String dbAlias) {
  final idx = attachedDbIndex;

  if (idx.byAlias.containsKey(dbAlias)) {
    final dbName = idx.byAlias[dbAlias];

    idx.byAlias.remove(dbAlias);
    idx.byName.remove(dbName);
  }
}