A function that constructs a Model of type T from a database row.
T
typedef ModelFactory<T extends Model> = T Function(Map<String, dynamic> row);