Proto2FieldDescriptorProto.fromJson constructor

Proto2FieldDescriptorProto.fromJson(
  1. Map json_
)

Implementation

Proto2FieldDescriptorProto.fromJson(core.Map json_)
    : this(
        defaultValue: json_['defaultValue'] as core.String?,
        jsonName: json_['jsonName'] as core.String?,
        label: json_['label'] as core.String?,
        name: json_['name'] as core.String?,
        number: json_['number'] as core.int?,
        oneofIndex: json_['oneofIndex'] as core.int?,
        proto3Optional: json_['proto3Optional'] as core.bool?,
        type: json_['type'] as core.String?,
        typeName: json_['typeName'] as core.String?,
      );