deepCopy method

  1. @UseResult('[GeneratedMessageGenericExtensions.deepCopy] ' 'does not update the message, returns a new message')
T deepCopy()

Returns a writable deep copy of this message.

Implementation

@UseResult('[GeneratedMessageGenericExtensions.deepCopy] '
    'does not update the message, returns a new message')
T deepCopy() => info_.createEmptyInstance!() as T..mergeFromMessage(this);