Extension<T> class

An object representing an extension field.

Inheritance

Constructors

Extension(String extendee, String name, int tagNumber, int fieldType, {dynamic defaultOrMaker, CreateBuilderFunc? subBuilder, ValueOfFunc? valueOf, List<ProtobufEnum>? enumValues, String? protoName})
Extension.repeated(String extendee, String name, int tagNumber, int fieldType, {CheckFunc<T>? check, CreateBuilderFunc? subBuilder, ValueOfFunc? valueOf, List<ProtobufEnum>? enumValues, String? protoName})

Properties

check CheckFunc<T>?
finalinherited
enumValues List<ProtobufEnum>?
finalinherited
extendee String
final
hashCode int
The hash code for this object.
no setteroverride
index int?
finalinherited
isEnum bool
no setterinherited
isGroupOrMessage bool
no setterinherited
isMapField bool
no setterinherited
isRepeated bool
no setterinherited
isRequired bool
no setterinherited
makeDefault MakeDefaultFunc?
finalinherited
name String
Name of this field as the json_name reported by protoc.
finalinherited
protoName String
The name of this field as written in the proto-definition.
finalinherited
readonlyDefault → dynamic
Returns a read-only default value for a field. (Unlike getField, doesn't create a repeated field.)
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subBuilder CreateBuilderFunc?
finalinherited
tagNumber int
finalinherited
type int
finalinherited
valueOf ValueOfFunc?
finalinherited

Methods

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

Operators

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