ExecutableDeclaration class

Represents an executable declaration

Implemented types
Annotations
  • @freezed

Constructors

ExecutableDeclaration({required String returnTypeName, required String? returnTypeFullLibraryName, required String name, required bool isDeprecated, required bool isExperimental, required List<ExecutableParameterDeclaration> parameters, required List<String> typeParameterNames, required ExecutableType type, required bool isStatic, Set<String>? entryPoints, required String relativePath})
const
factory

Properties

copyWith → $ExecutableDeclarationCopyWith<ExecutableDeclaration>
Create a copy of ExecutableDeclaration with the given fields replaced by the non-null parameter values.
no setterinherited
entryPoints Set<String>?
entry points for this executable
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isDeprecated bool
whether the executable is deprecated
no setterinherited
isExperimental bool
whether the executable is experimental
no setterinherited
isStatic bool
whether the executable is a static method
no setterinherited
name String
name of the executable
no setterinherited
parameters List<ExecutableParameterDeclaration>
list of the executables parameters (ExecutableOParameterDeclarations)
no setterinherited
relativePath String
the relative path of the library
no setterinherited
returnTypeFullLibraryName String?
no setterinherited
returnTypeName String
name of the return type
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
signature of the executable declaration.
no setter
type ExecutableType
type of the executable
no setterinherited
typeParameterNames List<String>
type parameter names of this executable
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