addUserProperty static method
Implementation
static addUserProperty(String key, String value) async {
if(Platform.isIOS){
_channel.invokeMethod(ADDUSERPROPERTIES, {
'key': key,
'value': value,
});
}else{
var addValue = HashMap<String, Object>();
addValue[key] = value;
_channel.invokeMethod(PROPERTIES, addValue);
}
}