graphQLSocketMessageDecoder property
A function that decodes the incoming http response to Map<String, dynamic>
,
the decoded map will be then passes to the RequestSerializer
.
It is recommended for performance to decode the response using compute
function.
graphQLSocketMessageDecoder : (dynamic message) async => await compute(jsonDecode, message as String) as Map<String, dynamic>,
Implementation
final GraphQLSocketMessageDecoder graphQLSocketMessageDecoder;