getSessionProperties method

  1. @override
Future<Map<String, String>> getSessionProperties()
override

Returns all properties for the current session.

Modifications to the returned map will not be applied to the session. To modify the session properties, use addSessionProperty and removeSessionProperty.

Implementation

@override
Future<Map<String, String>> getSessionProperties() async {
  return _runCatchingAndReturn<Map<String, String>>(
    'getSessionProperties',
    () => _platform.getSessionProperties(),
    defaultValue: const {},
  );
}