reportError abstract method

void reportError(
  1. String? errorName,
  2. int? errorCode, {
  3. Platform? platform,
})

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});