init static method

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

Implementation

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