DVFlag class
Marks one flag inside a @DVFlags() class.
@DVFlags()
abstract class _Flags {
@DVFlag(owner: 'payments', expires: '2026-12-01')
static const bool newCheckout = false;
}
The field's initializer is the default compiled into the build. expires is required: a flag is debt with an owner and a date on it.
Constructors
- DVFlag({required String owner, required String expires, DVFlagSettle settle = DVFlagSettle.immediately})
-
const
Properties
- expires → String
-
YYYY-MM-DD.final - hashCode → int
-
The hash code for this object.
no setterinherited
- owner → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settle → DVFlagSettle
-
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