ParseLiveElement<T extends ParseObject> constructor
ParseLiveElement<T extends ParseObject> (})
Implementation
ParseLiveElement(T object, {bool loaded = false, List<String>? includeObject})
: super(object,
loaded: loaded,
updatedSubItems:
ParseLiveList._toIncludeMap(includeObject ?? <String>[])) {
_includes = ParseLiveList._toIncludeMap(includeObject ?? <String>[]);
queryBuilder = QueryBuilder<T>(object.clone(<String, dynamic>{}))
..whereEqualTo(keyVarObjectId, object.objectId);
if (includeObject != null) {
queryBuilder.includeObject(includeObject);
}
_init(object, loaded: loaded, includeObject: includeObject);
}