mergeFromMessage method

void mergeFromMessage(
  1. GeneratedMessage other
)

Merges the contents of the other into this message.

Singular fields that are set in other overwrite the corresponding fields in this message. Repeated fields are appended. Singular sub-messages are recursively merged.

Implementation

void mergeFromMessage(GeneratedMessage other) =>
    _fieldSet._mergeFromMessage(other._fieldSet);