Directive class Null safety

Implemented types
Annotations

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?
read-only
deferred bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
hide List<String>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
show List<String>
read-only
type DirectiveType
read-only
url String
read-only

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 non-existent 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