GenericRepository<T> constructor

GenericRepository<T>(
  1. QueryDatabase db,
  2. String _tableName,
  3. Map<String, dynamic> _toJson(
    1. T
    ),
  4. T _fromJson(
    1. Map<String, dynamic>
    ),
)

Implementation

GenericRepository(
  QueryDatabase db,
  this._tableName,
  this._toJson,
  this._fromJson,
) : super(db);