CrudController<T extends BaseModel> class

Implemented types
Annotations
  • @riverpod

Constructors

CrudController()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid ↔ String?
latefinalinherited

Methods

build({String? uid}) → Future<List<T>>
createItem(T data) → Future<void>
override
deleteItem(String uid) → Future<void>
override
getAllItems() → Future<List<T>>
override
getItemByUid(String uid) → Future<T?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateItem(T data) → Future<void>
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited