addSessionProperty method
Annotates the session with a property defined by a key
and value
.
The key
must be unique within session properties. There is a limit of 10
properties per session. If the property is permanent
, it will be added
to all future sessions on this device. Otherwise, the property will just
be added to the current session.
Implementation
@override
void addSessionProperty(String key, String value, {bool permanent = false}) {
_runCatching(
'addSessionProperty',
() => _platform.addSessionProperty(key, value, permanent: permanent),
);
}