DmxDeclaration class final

The annotated declaration, as dmx's front end read it.

Constructors

DmxDeclaration(String name, {required String kind, List<String> modifiers = const [], String typeParams = '', String? extendsName, List<String> interfaces = const [], List<DmxField> fields = const [], List<String> values = const []})
Builds a declaration view.
const

Properties

extendsName → String?
The extends clause's bare type name, when present.
final
fields → List<DmxField>
Instance fields, in source order.
final
hashCode → int
The hash code for this object.
no setterinherited
interfaces → List<String>
Bare type names from implements.
final
kind → String
class or enum.
final
modifiers → List<String>
sealed, abstract, final, and friends.
final
name → String
The declared name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeParams → String
Source text of the type parameter list, e.g. <T>.
final
values → List<String>
Enum constant names, in source order. Empty for a class.
final

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