Function signature for mapping document fields to entity T.
T
typedef DocumentMapper<T> = T Function(String id, Map<String, dynamic> data);