GeneratedMessage.fromJson constructor Null safety

GeneratedMessage.fromJson(
  1. String input,
  2. ExtensionRegistry extensionRegistry
)

Implementation

GeneratedMessage.fromJson(String input, ExtensionRegistry extensionRegistry) {
  __fieldSet = _FieldSet(this, info_, eventPlugin);
  if (eventPlugin != null) eventPlugin!.attach(this);
  mergeFromJson(input, extensionRegistry);
}