get method

  1. @override
Future<Http4Response> get(
  1. String url, {
  2. Map<String, String> headers = const {},
  3. Map<String, dynamic> params = const {},
  4. List<InterceptorContract> interceptors = const [],
  5. RetryPolicy? retryPolicy,
})
override

Implementation

@override
Future<Http4Response> get(
  final String url, {
  Map<String, String> headers = const {},
  Map<String, dynamic> params = const {},
  List<InterceptorContract> interceptors = const [],
  RetryPolicy? retryPolicy,
}) async =>
    await Http4GetImplementation(
      url: url,
      headers: headers,
      params: params,
      retryPolicy: retryPolicy,
      interceptors: interceptors,
    ).call();