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