setCustomAttributes method
Setting Custom Attribute Parameters
Implementation
Future<void> setCustomAttributes(Map<String, dynamic>? customAttributes) {
Map<String, String> map = Map();
customAttributes?.forEach((String key, dynamic value) {
map[key] = value.toString();
});
return _channel
.invokeMethod(
'setCustomAttributes', <String, dynamic>{'customAttributes': map});
}