InterfaceDeclaration constructor
const
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,
})
Implementation
@Implements<Declaration>()
const factory InterfaceDeclaration({
/// name of this interface
required String name,
/// whether this interface is deprecated
required bool isDeprecated,
/// whether this interface is experimental
required bool isExperimental,
/// determines if this declaration is sealed
required bool isSealed,
/// determines if this declaration is abstract
required bool isAbstract,
/// usages of this interface
required Set<TypeUsage> typeUsages,
/// list of type parameter names
required List<String> typeParameterNames,
/// set of super type names
required Set<String> superTypeNames,
/// executables that belong to this interface
required List<ExecutableDeclaration> executableDeclarations,
/// fields that belong to this interface
required List<FieldDeclaration> fieldDeclarations,
/// entry points this interface is reachable through
Set<String>? entryPoints,
/// the relative path of the library
required String relativePath,
}) = _InterfaceDeclaration;