clone method

  1. @Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version')
TestRequiredOneof_NestedMessage clone()
override

Creates a deep copy of the fields in this message. (The generated code uses mergeFromMessage.)

Implementation

@$core.Deprecated('Using this can add significant overhead to your binary. '
    'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
    'Will be removed in next major version')
TestRequiredOneof_NestedMessage clone() =>
    TestRequiredOneof_NestedMessage()..mergeFromMessage(this);