fromDS property

T Function(String, Map<String, dynamic>?) fromDS
final

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

Implementation

final T Function(String, Map<String, dynamic>?) fromDS;