FieldDeclaration class sealed
represents a found FieldDeclaration
- Implemented types
- Available extensions
- 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
- 
  map<TResult extends Object?> (TResult $default(_FieldDeclaration value)) → TResult 
- 
      Available on FieldDeclaration, provided by the FieldDeclarationPatterns extension Aswitch-like method, using callbacks.
- 
  mapOrNull<TResult extends Object?> (TResult? $default(_FieldDeclaration value)?) → TResult? 
- 
      Available on FieldDeclaration, provided by the FieldDeclarationPatterns extension A variant ofmapthat fallback to returningnull.
- 
  maybeMap<TResult extends Object?> (TResult $default(_FieldDeclaration value)?, {required TResult orElse()}) → TResult 
- 
      Available on FieldDeclaration, provided by the FieldDeclarationPatterns extension A variant ofmapthat fallback to returningorElse.
- 
  maybeWhen<TResult extends Object?> (TResult $default(String typeName, String? typeFullLibraryName, String name, bool isDeprecated, bool isStatic, bool isConst, bool isExperimental, Set< String> ? entryPoints, String relativePath, bool isReadable, bool isWriteable)?, {required TResult orElse()}) → TResult
- 
      Available on FieldDeclaration, provided by the FieldDeclarationPatterns extension A variant ofwhenthat fallback to anorElsecallback.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  when<TResult extends Object?> (TResult $default(String typeName, String? typeFullLibraryName, String name, bool isDeprecated, bool isStatic, bool isConst, bool isExperimental, Set< String> ? entryPoints, String relativePath, bool isReadable, bool isWriteable)) → TResult
- 
      Available on FieldDeclaration, provided by the FieldDeclarationPatterns extension Aswitch-like method, using callbacks.
- 
  whenOrNull<TResult extends Object?> (TResult? $default(String typeName, String? typeFullLibraryName, String name, bool isDeprecated, bool isStatic, bool isConst, bool isExperimental, Set< String> ? entryPoints, String relativePath, bool isReadable, bool isWriteable)?) → TResult?
- 
      Available on FieldDeclaration, provided by the FieldDeclarationPatterns extension A variant ofwhenthat fallback to returningnull
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited