clone method

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

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

Implementation

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