Type class final

A protocol buffer message type.

Inheritance

Constructors

Type({String? name, List<Field>? fields, List<String>? oneofs, List<Option>? options, SourceContext? sourceContext, Syntax? syntax, String? edition})
Type.fromJson(Map<String, dynamic> json)
factory

Properties

edition String?
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
final
fields List<Field>?
The list of fields.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The fully qualified message name.
final
oneofs List<String>?
The list of types appearing in oneof definitions in this type.
final
options List<Option>?
The protocol buffer options.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceContext SourceContext?
The source context.
final
syntax Syntax?
The source syntax.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String