Type class
A protocol buffer message type.
Constructors
-
Type({Input<
String> ? edition, Input<List< ? fields, Input<Field> >String> ? name, Input<List< ? oneofs, Input<String> >List< ? options, Input<Option> >SourceContext> ? sourceContext, Input<TypeSyntax> ? syntax}) -
Creates a new Type.
editionThe source edition string, only valid when syntax is SYNTAX_EDITIONS.fieldsThe list of fields.nameThe fully qualified message name.oneofsThe list of types appearing inoneofdefinitions in this type.optionsThe protocol buffer options.sourceContextThe source context.syntaxThe source syntax.const -
Type.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
edition
→ Input<
String> ? -
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
final
-
fields
→ Input<
List< ?Field> > -
The list of fields.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The fully qualified message name.
final
-
oneofs
→ Input<
List< ?String> > -
The list of types appearing in
oneofdefinitions in this type.final -
options
→ Input<
List< ?Option> > -
The protocol buffer options.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceContext
→ Input<
SourceContext> ? -
The source context.
final
-
syntax
→ Input<
TypeSyntax> ? -
The source syntax.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited