Datasource<TypeDatasource> class abstract interface

Implement the datasource by typing with the expected data type. Override the call method involving logic in a try catch to return the typed data in case of success, or a throw returning the AppError received in the ParametersReturnResult.

Constructors

Datasource()

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

call(covariant ParametersReturnResult parameters) Future<TypeDatasource>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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