getClientInstance static method

Dio getClientInstance()

Access the initialized Dio instance

Implementation

static Dio getClientInstance() {
  if (_dio == null) {
    throw Exception(
      'ScrellaApiClient not initialized. Call ScrellaApiClient.initialize() first.',
    );
  }
  return _dio!;
}