InterfaceDeclaration class

Represents a found interface declaration

Implemented types
Annotations
  • @freezed

Constructors

InterfaceDeclaration({required String name, required bool isDeprecated, required bool isExperimental, required bool isSealed, required bool isAbstract, required Set<TypeUsage> typeUsages, required List<String> typeParameterNames, required Set<String> superTypeNames, required List<ExecutableDeclaration> executableDeclarations, required List<FieldDeclaration> fieldDeclarations, Set<String>? entryPoints, required String relativePath})
const
factory

Properties

copyWith → $InterfaceDeclarationCopyWith<InterfaceDeclaration>
no setterinherited
entryPoints Set<String>?
entry points this interface is reachable through
no setterinherited
executableDeclarations List<ExecutableDeclaration>
executables that belong to this interface
no setterinherited
fieldDeclarations List<FieldDeclaration>
fields that belong to this interface
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAbstract bool
determines if this declaration is abstract
no setterinherited
isDeprecated bool
whether this interface is deprecated
no setterinherited
isExperimental bool
whether this interface is experimental
no setterinherited
isRequired bool
determines if this interface is required (meaning: can be used in a type hierarchy by the consumer)
no setter
isSealed bool
determines if this declaration is sealed
no setterinherited
name String
name of this interface
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 interface condensed to one String contains Type arguments as well as base types or implemented interfaces
no setter
superTypeNames Set<String>
set of super type names
no setterinherited
typeParameterNames List<String>
list of type parameter names
no setterinherited
typeUsages Set<TypeUsage>
usages of this interface
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