GeneratedMessage.fromBuffer constructor Null safety

GeneratedMessage.fromBuffer(
  1. List<int> input,
  2. ExtensionRegistry extensionRegistry
)

Implementation

GeneratedMessage.fromBuffer(
    List<int> input, ExtensionRegistry extensionRegistry) {
  __fieldSet = _FieldSet(this, info_, eventPlugin);
  if (eventPlugin != null) eventPlugin!.attach(this);
  mergeFromBuffer(input, extensionRegistry);
}