void showLog(String message, {String? tag}) { var msg = message; if (tag != null) { msg = '[$tag]: $message'; } onMessageLog?.call(msg); }