Type class

A protocol buffer message type.

Constructors

Type()
Type.fromJson(Map _json)

Properties

fields List<Field>
The list of fields.
read / write
name String
The fully qualified message name.
read / write
oneofs List<String>
The list of types appearing in oneof definitions in this type.
read / write
options List<Option>
The protocol buffer options.
read / write
sourceContext SourceContext
The source context.
read / write
syntax String
The source syntax. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited