clone method

KeyPair clone()
override

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

Implementation

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