streamData abstract method

Widget streamData({
  1. required String collectionId,
  2. required Widget consumerFunc(
    1. List<Map<String, dynamic>> resultList
    ),
  3. required Map<String, dynamic> where,
  4. required String orderBy,
  5. bool descending = true,
  6. int? limit,
  7. bool hasPage = false,
})

Implementation

Widget streamData({
  required String collectionId,
  required Widget Function(List<Map<String, dynamic>> resultList) consumerFunc,
  required Map<String, dynamic> where,
  required String orderBy,
  bool descending = true,
  int? limit, // 페이지 크기
  bool hasPage = false,
});