accessor<T extends DatabaseAccessor<GeneratedDatabase> > method
Find an accessor type, or create it with create
. The result will be
cached.
Implementation
T accessor<T extends DatabaseAccessor>(T Function(GeneratedDatabase) create) {
return attachedDatabase.accessor<T>(create);
}