unpackAny method
Unpacks an Any message into this message.
Implementation
T unpackAny(Any any) {
if (!any.canUnpackInto(this)) {
throw ArgumentError(
'Cannot unpack ${any.typeUrl} into $runtimeType',
);
}
any.unpackInto(this);
return this;
}