toChannelRepresentation method Null safety

Map<String, Object?> toChannelRepresentation()

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

Implementation

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