FlutterStandardMethodCodec
@interface FlutterStandardMethodCodec : NSObject <FlutterMethodCodec>
A FlutterMethodCodec
using the Flutter standard binary encoding.
This codec is guaranteed to be compatible with the corresponding StandardMethodCodec on the Dart side. These parts of the Flutter SDK are evolved synchronously.
Values supported as method arguments and result payloads are those supported by
FlutterStandardMessageCodec
.
-
Create a
FlutterStandardMethodCodec
who will read and write to \p readerWriter.Declaration
Objective-C
+ (nonnull instancetype)codecWithReaderWriter: (nonnull FlutterStandardReaderWriter *)readerWriter;