init static method

Future<void> init({
  1. String baseUrl = "",
  2. List<Interceptor>? interceptors,
})

Implementation

static Future<void> init({
  String baseUrl = "",
  List<Interceptor>? interceptors,
}) async {
  _instance ??=
      RequestClient._internal(interceptors: interceptors, baseUrl: baseUrl);
}