logError method
Log message
and optional properties
using the error log level.
Implementation
@override
void logError(
String message,
Map<String, String>? properties,
) {
throwIfNotStarted();
methodChannel.invokeMethod(_logErrorMethodName, {
_messageArgName: message,
_propertiesArgName: properties,
});
}