setCurrentSessionId method

  1. @override
Future<void> setCurrentSessionId(
  1. String sessionId
)
override

Inform native side about the current session ID so that native crashes can be tagged with the same session.

Implementation

@override
Future<void> setCurrentSessionId(String sessionId) async {
  await methodChannel.invokeMethod<void>('setCurrentSessionId', {
    'sessionId': sessionId,
  });
}