FieldDeclaration class
represents a found FieldDeclaration
- Implemented types
- Annotations
-
- @freezed
Constructors
-
FieldDeclaration({required String typeName, required String? typeFullLibraryName, required String name, required bool isDeprecated, required bool isStatic, required bool isConst, required bool isExperimental, Set<
String> ? entryPoints, required String relativePath, required bool isReadable, required bool isWriteable}) -
constfactory
Properties
-
copyWith
→ $FieldDeclarationCopyWith<
FieldDeclaration> -
Create a copy of FieldDeclaration
with the given fields replaced by the non-null parameter values.
no setterinherited
-
entryPoints
→ Set<
String> ? -
entry points this field is reachable through
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConst → bool
-
whether this field is a constant
no setterinherited
- isDeprecated → bool
-
whether this field is deprecated
no setterinherited
- isExperimental → bool
-
whether this field is experimental
no setterinherited
- isReadable → bool
-
whether this field is readable
no setterinherited
- isStatic → bool
-
whether this field is static
no setterinherited
- isWriteable → bool
-
whether this field is writeable
no setterinherited
- name → String
-
name of this field
no setterinherited
- relativePath → String
-
the relative path of the library
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → String
-
the signature of this field declaration.
no setter
- typeFullLibraryName → String?
-
full library name for the type
no setterinherited
- typeName → String
-
type of this 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