reportError abstract method
Report an error with errorName
and errorCode
directly without any action.
errorCode
is nullable but within implementation it has default value 0
Implementation
void reportError(String? errorName, int? errorCode, {Platform? platform});