encodeMethodCall method Null safety
- MethodCall methodCall
override
Encodes the specified methodCall
into binary.
Implementation
@override
ByteData encodeMethodCall(MethodCall methodCall) {
return const JSONMessageCodec().encodeMessage(<String, Object?>{
'method': methodCall.method,
'args': methodCall.arguments,
})!;
}