creationParamsCodec property

MessageCodec? creationParamsCodec
final

The codec used to encode creationParams before sending it to the platform side. It should match the codec passed to the constructor of PlatformViewFactory.

This is typically one of: StandardMessageCodec, JSONMessageCodec, StringCodec, or BinaryCodec.

This must not be null if creationParams is not null.

Implementation

final MessageCodec<dynamic>? creationParamsCodec;