Directive class abstract

Implemented types
Annotations
  • @immutable

Constructors

Directive([void updates(DirectiveBuilder)])
factory
Directive.export(String url, {List<String> show = const [], List<String> hide = const []})
factory
Directive.import(String url, {String? as, List<String> show = const [], List<String> hide = const []})
factory
Directive.importDeferredAs(String url, String as, {List<String> show = const [], List<String> hide = const []})
factory
Directive.part(String url)
factory
Directive.partOf(String url)
factory

Properties

as String?
no setter
deferred bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hide List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show List<String>
no setter
type DirectiveType
no setter
url String
no setter

Methods

accept<R>(SpecVisitor<R> visitor, [R? context]) → R
override
compareTo(Directive other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(DirectiveBuilder)) Directive
Rebuilds the instance.
inherited
toBuilder() DirectiveBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited