Conditional class

this annotation is used to define specific requirements for the appropriate class to be managed by an environment

Inheritance
  • Object
  • ClassAnnotation
  • Conditional

Constructors

Conditional({required Condition requires})
Create a new Conditional requires required condition
const

Properties

hashCode int
The hash code for this object.
no setterinherited
requires Condition
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(TypeDescriptor type) → void
callback executed by the type infrastructure type the TypeDescriptor of the annotated class
override
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