clone method

Entity clone()
override

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

Implementation

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