EnumDescriptorProto.fromJson constructor

EnumDescriptorProto.fromJson(
  1. String i, [
  2. ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY
])

Implementation

factory EnumDescriptorProto.fromJson($core.String i,
        [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
    create()..mergeFromJson(i, r);