DyDLoader class
Constructors
-
DyDLoader(FirebaseFirestore fStore, {dynamic constants})
-
Properties
-
consts
↔ dynamic
-
getter/setter pair
-
fStore
→ FirebaseFirestore
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addClasses(DocumentSnapshot<Map<String, dynamic>> doc, {Idex? index})
→ FutureOr<Map<String, dynamic>?>
-
-
getAllIndex()
→ Future<List<Idex>>
-
load index info
-
getClassDataCol(String classId)
→ String
-
-
getData_raw(String classId, String dataId, {Idex? index})
→ Future<Map<String, dynamic>?>
-
load single data of specific class index
load single data with converted field class if any in entries
-
getIndex(String classId)
→ Future<Idex?>
-
load index info
-
handleValue(Entry entry, dynamic data)
→ FutureOr
-
helper function convert raw field to class field
cautions: currently not checking subsubType,
since assuming map shouldn't have {xx: DOC|USER}
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
revertField(dynamic f)
→ dynamic
-
-
subClasses(Map<String, dynamic> data, {bool keepId = true, dynamic keepClassNid = false})
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited