DmxAnnotation class final
One annotation as the author wrote it, arguments as raw Dart source.
Constructors
Properties
-
args
→ Map<
String, String> -
Named arguments: label to the raw source of its value, unevaluated —
{'table': 'products'}arrives as{'table': "'products'"}.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isDmx → bool
-
Whether this is a
@dmx(…)trigger rather than a foreign annotation.final - name → String
-
The macro name inside
@dmx(…), or a foreign annotation's own name.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
arg(
String label) → String? - The raw source of one argument, or null when absent.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stringArg(
String label) → String? - One argument with surrounding string quotes stripped — the common case of a string-literal configuration value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited