IBaseLoadSource<T extends BaseEntityDataModel> class abstract

An abstract class defining data loading actions for data sources.

This interface focuses only on retrieving data, either as a list or a single item.

Implementers

Constructors

IBaseLoadSource()

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

getDataList() → Future<Result<RemoteBaseModel, RemoteBaseModel<List<T>>>>
Retrieves a list of data items.
getSingleData({String? id}) → Future<Result<RemoteBaseModel, RemoteBaseModel<T>>>
Retrieves a single data item.
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