ConnectService constructor

ConnectService({
  1. required ConnectAuthPublicServiceClient client,
  2. bool? testMode,
  3. bool? mockMode,
})

Implementation

ConnectService({required this.client, this.testMode, this.mockMode}) {
  if (mockMode == true && testMode == false) {
    throw Exception("in order for mock mode to be enabled, enable test mode");
  }
}