$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'encodeMethodCall':
return __encodeMethodCall;
case 'decodeMethodCall':
return __decodeMethodCall;
case 'decodeEnvelope':
return __decodeEnvelope;
case 'encodeSuccessEnvelope':
return __encodeSuccessEnvelope;
case 'encodeErrorEnvelope':
return __encodeErrorEnvelope;
}
throw UnimplementedError(
'property $identifier not generated for MethodCodec');
}