deepCopy method
- @UseResult('[GeneratedMessageGenericExtensions.deepCopy] ' 'does not update the message, returns a new message')
Returns a writable deep copy of this message.
Implementation
@UseResult(
'[GeneratedMessageGenericExtensions.deepCopy] '
'does not update the message, returns a new message',
)
T deepCopy() {
final newMessage = info_.createEmptyInstance!();
newMessage._fieldSet._deepCopyFrom(_fieldSet);
return newMessage as T;
}