AbstractConsumer<T extends AbstractModel<ID> , ID> class
abstract
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offlineOrderBy → String
-
final
- offlineTableName → String?
-
final
- offlineTerms → String?
-
final
- offlineWhere → String?
-
final
- offlineWhereArgs → List?
-
final
- returnLog → bool
-
final
-
routeName
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
beforeDelete(
BuildContext context, T model, {Map< String, String> extraParams = const <String, String>{}}) → Future<bool> -
beforeSaveOrUpdate(
BuildContext context, T model, {Map< String, String> extraParams = const <String, String>{}}) → Future<bool> -
checkPermission(
BuildContext context, List< String> paths) → Future<ConsumerPermission> -
delete(
BuildContext context, T model, {Map< String, String> extraParams = const <String, String>{}}) → Future<bool> -
dropdownMap(
BuildContext context, {int page = 0, int size = 20, Map< String, String> extraParams = const <String, String>{}, bool forceOffline = false}) → Future<Map< T, String> > -
fromJson(
Map< String, dynamic> map) → T -
getById(
BuildContext context, T model, {Map< String, String> extraParams = const <String, String>{}}) → Future<T?> -
idFrom(
dynamic value) → ID? -
list(
BuildContext context, {int page = 0, int size = 20, Map< String, String> extraParams = const <String, String>{}, bool forceOffline = false}) → Future<List< T> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveOrUpdate(
BuildContext context, T model, {Map< String, String> extraParams = const <String, String>{}}) → Future<T?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited