pluginDebug function
dynamic
pluginDebug(
- dynamic message, {
- StackTrace? s,
- Object? e,
- String name = "Biometric_access Plugin log",
- bool usePrint = false,
Implementation
pluginDebug(message,
{StackTrace? s,
Object? e,
String name = "Biometric_access Plugin log",
bool usePrint = false}) {
if (usePrint) {
debugPrint("[$name] => $message ${e != null ? "[Error] =>$e" : ""}");
} else {
log("$message", stackTrace: s, error: e, name: name);
}
}