RestProvider constructor

RestProvider(
  1. String baseEndpoint, {
  2. required RestModelDictionary modelDictionary,
  3. Client? client,
})

Implementation

RestProvider(
  this.baseEndpoint, {
  required this.modelDictionary,
  http.Client? client,
})  : client = client ?? http.Client(),
      logger = Logger('RestProvider');