get<T> method

Future<Response<T>> get<T>({
  1. Map<String, String>? headers,
  2. Map<String, dynamic>? extra,
  3. Duration? timeout,
  4. bool showLoadingIndicator = true,
})

Implementation

Future<Response<T>> get<T>({
  Map<String, String>? headers,
  Map<String, dynamic>? extra,
  Duration? timeout,
  bool showLoadingIndicator = true,
}) {
  return _request(
    'GET',
    headers: headers,
    extra: extra,
    timeout: timeout,
    showLoadingIndicator: showLoadingIndicator,
  );
}