datasource 0.0.1 copy "datasource: ^0.0.1" to clipboard
datasource: ^0.0.1 copied to clipboard

This package is a Helper to Consume Firebase on a Easy way.

This package will help to consume a Cloud Firebase using a Generic Datasource

Usage #

You just need to implement new features, because the Datasource will provide addOrUpdate, getByid, getAll, removeById and getStream for your Datasource. PS: Don`t forget to implement your Mapper :C

class YourDatasourceImpl extends Datasource<YourEntity> with YourMapper implements IYourDatasource {
  YourDatasourceImpl() : super('events_entity');

  @override
  Future<String> getLastName() {
    throw UnimplementedError();
  }
}
0
likes
120
points
54
downloads

Publisher

unverified uploader

Weekly Downloads

This package is a Helper to Consume Firebase on a Easy way.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

cloud_firestore, firebase_core, flutter

More

Packages that depend on datasource