trackWarningWithException method
Track a warning with an exception. @param source The source of the warning. @param stackTrace The stack trace.
Implementation
@override
Future trackWarningWithException(String source, dynamic e, dynamic stackTrace)
async
{
logger.logInfo((_isEnabled ? 'GoogleAnalytics' : 'Disabled-GoogleAnalytics') + ': trackWarningWithException: $source / $e / $stackTrace');
if (_isEnabled)
await track('Warning', {'Message': e.toString(), 'StackTrace': stackTrace?.toString()});
}