DataSourceRF<Object> class

Constructors

DataSourceRF.new({List<Object>? modelList, SourceType type = SourceType.local, String where = '', String select = '', String orderField = '', String order = 'desc', String groupBy = '', Function? onLoad, int? pageSize, bool includeChild = false})

Properties

advanceWhere String
getter/setter pair
currentPage int
getter/setter pair
currentReadType ↔ dynamic
getter/setter pair
deleteListItemFn Function?
getter/setter pair
groupBy String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includeChild bool
getter/setter pair
isLoading bool
getter/setter pair
isRefresh bool
getter/setter pair
items → dynamic
no setter
mapMultiCheck Map<String, dynamic>
getter/setter pair
model ↔ dynamic
getter/setter pair
modelList List<Object>?
getter/setter pair
onFilter Function?
getter/setter pair
onLoad Function?
getter/setter pair
onUpdateState Function?
getter/setter pair
order String
getter/setter pair
orderField String
getter/setter pair
pageSize int?
getter/setter pair
quickWhere String
getter/setter pair
readListItemFn Function?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
select String
getter/setter pair
selectFields String
getter/setter pair
sql String
getter/setter pair
stateUpdateFn Function?
getter/setter pair
type SourceType
getter/setter pair
updateLoadingStateFn Function?
getter/setter pair
where String
getter/setter pair
whereFilter String
getter/setter pair

Methods

add(dynamic data) → dynamic
clear() → dynamic
delete(int index) → dynamic
filter([String? whereClause]) → dynamic
filterClear() → dynamic
getCount({bool withExternal = true, SourceType? type}) Future<int>
loadData() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quickFilter(dynamic sqlOrExp) → dynamic
quickFilterWhereOr(String clause, dynamic value) → dynamic
read(int pageNumber, int pageSize) → dynamic
refresh() → dynamic
reload(BuildContext context) Future<Null>
save(dynamic parentModel) → void
toString() String
A string representation of this object.
inherited
update(dynamic model, int index) → dynamic
updateSelectStatus(bool checkValue, dynamic sourceModel, dynamic destinationModel, List fields) → void
updateSql(int pageNo) → dynamic

Operators

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