register static method
Implementation
static Future<void> register(Collection collection) async {
String id = collection.runtimeType.toString();
collection.id = id;
await collection.setup();
_collections[id] = collection;
}
static Future<void> register(Collection collection) async {
String id = collection.runtimeType.toString();
collection.id = id;
await collection.setup();
_collections[id] = collection;
}