setUserProperty static method
This method is used for setting more user Properties that will be present and also unique to that user.
key
is String
value
is String
eg: setUserProperty('username', 'john')
Implementation
static Future<void> setUserProperty(String key, String value) async {
await _channel
.invokeMethod('setUserProperty', {"key": key, "value": value});
}