mergeFromMessage method Null safety

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

@pragma('dart2js:noInline')
void mergeFromMessage(GeneratedMessage other) =>
    _fieldSet._mergeFromMessage(other._fieldSet);