getSessionProperties method
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 {
throwIfNotStarted();
final properties = await methodChannel
.invokeMapMethod<String, String>(_getSessionPropertiesMethodName);
return properties ?? const {};
}