create<T extends ParseObject> static method
Implementation
static Future<ParseLiveList<T>> create<T extends ParseObject>(
QueryBuilder<T> query, {
bool? listenOnAllSubItems,
List<String>? listeningIncludes,
bool lazyLoading = true,
List<String>? preloadedColumns,
}) {
final ParseLiveList<T> parseLiveList = ParseLiveList<T>._(
query,
listenOnAllSubItems == true
? _toIncludeMap(
query.limiters['include']?.toString().split(',') ?? <String>[])
: _toIncludeMap(listeningIncludes ?? <String>[]),
lazyLoading,
preloadedColumns: preloadedColumns ?? const <String>[],
);
return parseLiveList._init().then((_) {
return parseLiveList;
});
}