recordBridgedError method

  1. @override
Future<void> recordBridgedError({
  1. required bool fatal,
  2. required String type,
  3. String? message,
  4. required List<Map<String, Object>> frames,
})
override

Hands a Dart error to the native crash pipeline, which stores and uploads it with runtime flutter. See AppwinAnalytics.recordError.

Implementation

@override
Future<void> recordBridgedError({
  required bool fatal,
  required String type,
  String? message,
  required List<Map<String, Object>> frames,
}) async {
  await methodChannel.invokeMethod<void>('recordBridgedError', {
    'fatal': fatal,
    'type': type,
    'message': ?message,
    'frames': frames,
  });
}