getErrorCode function
Implementation
String getErrorCode(dynamic error) {
if (error is PlatformException) {
return error.code;
}
return PasskeyErrorCode.unknown;
}
String getErrorCode(dynamic error) {
if (error is PlatformException) {
return error.code;
}
return PasskeyErrorCode.unknown;
}