Round-trips the action back to a channel map (used by widgets that pass an action to a native PlatformView).
Map<String, dynamic> toMap();