NumberDirective class abstract

Base class for number directives that transform numeric values.

Number directives work with num type to support both int and double values, allowing Dart's type system to handle coercion naturally.

Inheritance
Implementers

Constructors

NumberDirective()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The unique identifier for this directive type.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(num value) num
Applies the transformation to the given value.
inherited
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