clone method

Field clone()
override

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

Implementation

Field clone() => Field()..mergeFromMessage(this);