Function to convert the firestore DocumentSnapshot into the model class T provides id and Map<String,dynamic> data and must return T object.
DocumentSnapshot
T
id
Map<String,dynamic> data
final T Function(String, Map<String, dynamic>?) fromDS;