getIncludeIDMap method

Future<Map<String, dynamic>?> getIncludeIDMap()

this Get will include id in the map.

Implementation

Future<Map<String, dynamic>?> getIncludeIDMap() async {
  final snapshot = await _getSnapshot();
  final data = snapshot.data();
  if (data != null) {
    data['id'] = snapshot.id;
  }
  return data;
}