getErrorDescription static method
Retrieves the description of a warning or error code.
Since v3.3.1
Parameter code
The warning or error code that the Warning
or Error
callback returns.
Returns
WarningCode or ErrorCode.
Implementation
static Future<String?> getErrorDescription(int error) {
return _invokeMethod('getErrorDescription', {'error': error});
}