registerOnErrorUpdate static method
Register a callback to be called when a new error is received.
Implementation
static void registerOnErrorUpdate(void Function(GemError error)? callback) {
ApiErrorServiceImpl.registerOnErrorUpdate(callback);
}
Register a callback to be called when a new error is received.
static void registerOnErrorUpdate(void Function(GemError error)? callback) {
ApiErrorServiceImpl.registerOnErrorUpdate(callback);
}