QueryFake constructor

QueryFake({
  1. Future<QuerySnapshot<Map<String, dynamic>>> get()?,
  2. Stream<QuerySnapshot<Map<String, dynamic>>>? snapshots,
  3. WhereClause? whereClause,
})

Implementation

QueryFake({
  Future<QuerySnapshot<Map<String, dynamic>>> Function()? get,
  Stream<QuerySnapshot<Map<String, dynamic>>>? snapshots,
  this.whereClause,
})  : _snapshots = snapshots,
      _get = get;