RoutingService constructor

RoutingService({
  1. String? serverURL,
  2. Map<String, String>? header,
})

Implementation

RoutingService({
  String? serverURL,
  Map<String, String>? header,
}) : dio = Dio(
        BaseOptions(
          baseUrl: serverURL ?? '',
          headers: header,
        ),
      );