Put a value using key inside a map.
value
key
Future<void> putString(String name, {String? value}) async { await Channels.channel .invokeMethodOnMobile<void>('setUserProperty', {"name": name, "value": value}); }