QuoteAdminRepository class

Quote Admin Repository

Constructors

QuoteAdminRepository()

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<Quote?>
Find an quote by its id
findByNumber(String number) Future<Quote?>
Find an quote by its number
load() Future<List<Quote>>
Load list of quotes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(Quote quote, {QuoteAction? action}) Future<Quote>
Persist quote to the server
toString() String
A string representation of this object.
inherited

Operators

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