Extension<T> class
Null safety
An object representing an extension field.
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> ? -
final, inherited
- defaultEnumValue → ProtobufEnum?
-
final, inherited
-
enumValues
→ List<
ProtobufEnum> ? -
final, inherited
- extendee → String
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- index → int?
-
final, inherited
- isEnum → bool
-
read-only, inherited
- isGroupOrMessage → bool
-
read-only, inherited
- isMapField → bool
-
read-only, inherited
- isRepeated → bool
-
read-only, inherited
- isRequired → bool
-
read-only, inherited
- makeDefault → MakeDefaultFunc?
-
final, inherited
- name → String
-
Name of this field as the
json_name
reported by protoc. [...]final, inherited - protoName → String
-
The name of this field as written in the proto-definition. [...]
final, inherited
- readonlyDefault → dynamic
-
Returns a read-only default value for a field.
(Unlike getField, doesn't create a repeated field.)
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- subBuilder → CreateBuilderFunc?
-
final, inherited
- tagNumber → int
-
final, inherited
- type → int
-
final, inherited
- valueOf → ValueOfFunc?
-
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
override