find<T> method

Future find<T>(
  1. dynamic path, {
  2. dynamic options,
})

Implementation

Future find<T>(path, {options}) async {
  try {
    Response response = await Dio(baseOptions).get(path, options: options);
    return hanleData<T>(response);
  } on DioError catch (e) {
    return createErrorEntity(e);
  }
}