Base Data | Coderz Product

base_data

Last updated:

0 purchases

base_data Image
base_data Images

Free

Languages

Categories

Add to Cart

Description:

base data

Library for manage general repositories.
Using #
For use repositories with api implementations

import 'package:base_data/base_data.dart';

mixin UsersApiSource on GetAllApiSource<User> {}

class UsersRepositoryAdapter with GetAllRepositoryAdapter<User> {
final UsersApiSource apiSource;

UsersRepositoryAdapter(this.apiSource);
}

copied to clipboard
For use repositories with api and db implementations

import 'package:base_data/base_data.dart';

mixin UsersApiSource on GetAllApiSource<User> {}

mixin UsersDbSource on PutAllDbSource<User> {}

class UsersRepositoryAdapter with StorageGetAllRepositoryAdapter<User> {
final UsersApiSource apiSource;
final UsersDbSource dbSource;

UsersRepositoryAdapter(
this.apiSource,
this.dbSource,
);
}


copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.