setSessionProperty static method
This method is used for setting properties that will be specific to that session
key
is String
value
is String
eg: setUserProperty('username', 'john')
Implementation
static Future<void> setSessionProperty(String key, String value) async {
await _channel
.invokeMethod('setSessionProperty', {"key": key, "value": value});
}