toChannelRepresentation method Null safety

Map<String, Object?> toChannelRepresentation()

Converts the internal representation to the format needed for a PlatformMenuItem to include it in its serialized form for sending to the platform.

Implementation

Map<String, Object?> toChannelRepresentation() => _internal;