fromRest abstract method

Future<_Model> fromRest(
  1. Map<String, dynamic> input, {
  2. required RestProvider provider,
  3. ModelRepository<RestModel>? repository,
})
inherited

Deserialize data from a REST response

Implementation

Future<TModel> fromRest(
  Map<String, dynamic> input, {
  required RestProvider provider,
  ModelRepository<RestModel>? repository,
});