toMap method
Convert to a metadata map for analytics.
Implementation
Map<String, Object?> toMap() => {
if (pluginName != null) '_PROTO_plugin_name': pluginName,
if (marketplaceName != null) '_PROTO_marketplace_name': marketplaceName,
'is_managed': isManaged,
};