DataSourceCall<T> class

Constructors

DataSourceCall(DataSource<T> dataSource, DataSourceOperation operation, Map? parameters)
factory
DataSourceCall.byDataSourceID(String? dataSourceID, DataSourceOperation operation, Map parameters)
factory
DataSourceCall.byDataSourceName(String dataSourceDomain, String dataSourceName, DataSourceOperation operation, Map? parameters)
factory

Properties

cacheTimeout Duration
getter/setter pair
dataSource DataSource<T?>?
no setter
dataSourceAsync Future<DataSource<T?>>
no setter
dataSourceResolver DataSourceResolver
final
hashCode int
The hash code for this object.
no setteroverride
name String
no setter
operation DataSourceOperation
final
operationName String?
no setter
parameters Map<String, String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cachedCall([List<T>? dataList]) List<T?>?
call([List<T>? dataList]) Future<List<T?>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Properties

CALL_PATTERN RegExp
final
defaultCacheTimeout Duration
final
PARAMETERS_DELIMITER_PATTERN RegExp
final

Static Methods

from<T>(Object? call) DataSourceCall<T>?
parse<T>(String? call) DataSourceCall<T>?
singleton<T>(DataSourceCall<T> instance) DataSourceCall<T>?