error method
Send an error event.
Implementation
void error({
required String code,
String? message,
Object? details,
}) => _sink.addError(PlatformException(code: code, message: message, details: details));
Send an error event.
void error({
required String code,
String? message,
Object? details,
}) => _sink.addError(PlatformException(code: code, message: message, details: details));