CreditAdminRepository class

Credit Admin Repository

Constructors

CreditAdminRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findById(String id) Future<Credit?>
Find an credit by its id
findByNumber(String number) Future<Credit?>
Find an credit by its number
load() Future<List<Credit>>
Load list of credits
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(Credit credit, {CreditAction? action}) Future<Credit>
Persist credit to the server
toString() String
A string representation of this object.
inherited

Operators

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