FieldElementDescriptorBase class

Enhanced information over a FieldElement

Inheritance

Constructors

FieldElementDescriptorBase(FieldElement fieldElement)

Properties

displayName String
The displayName of the field element.
finalinherited
fieldElement → FieldElement
final
fieldElementType → DartType
Returns the type of the field element
finalinherited
fieldElementTypeName String
Returns the name of the type of the field element First try to get the element name directly, in order to avoid the "
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasInitializer bool
finalinherited
isFinal bool
finalinherited
isLate bool
finalinherited
isNullable bool
Returns true when the field is a nullable type
no setterinherited
isRepeated bool
Returns true when the field is a list
no setterinherited
itemType → DartType
Returns the list element type when the field is a list and returns the field element when otherwise
no setterinherited
iterableParameterType → DartType?
no setterinherited
listParameterType → DartType?
When the field element is a List, returns the type of List element
no setterinherited
name String
finalinherited
nullSuffix String
Returns the ? character when the field is a nullable type. Otherwise, returns an empty string
no setterinherited
parameterType → DartType
When the field element type is a generic, returns the first type parameter type
no setterinherited
parameterTypeIsEnum bool
When the field element type is a generic, returns a value indicating whether the first type parameter is an enum
no setterinherited
parameterTypeName String
When the field element type is a generic, returns the first type parameter type name
no setterinherited
pascalName String
Returns the name of the field using a Pascal Case
no setterinherited
requiredPrefix String
Returns an empty string when the field is a nullable, otherwise returns 'required'
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setParameterType → DartType?
no setterinherited
typeIsEnum bool
Returns true when the field is an enum
no setterinherited
valueName String
Gets a non-nullable value representation of the field.
no setterinherited

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.
inherited