get method

Future<PlanModel> get({
  1. required String id,
  2. String customApiToken = '',
})

Implementation

Future<PlanModel> get({required String id, String customApiToken = ''}) async {
  var result = await apiResource.getById(id: id, apiUserToken: customApiToken);
  return PlanModel.fromMap(result);
}