canUnpackInto method
Returns true
if the encoded message matches the type of instance
.
Can be used with a default instance:
any.canUnpackInto(Message.getDefault())
Implementation
bool canUnpackInto(GeneratedMessage instance) {
return canUnpackIntoHelper(instance, typeUrl);
}