ConstCell<T> class

A constant container.

Available extensions

Constructors

ConstCell.new(T _val)
const

Properties

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

Methods

copy() Cell<T>
Shallow copy of this.
eq(bool val) bool

Available on ConstCell<bool>, provided by the BoolConstCellExtension extension

Equal to
eq(double val) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

Equal to
eq(int val) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

Equal to
eq(String val) bool

Available on ConstCell<String>, provided by the StringConstCellExtension extension

Equal to
get() → T
Returns the inner value.
gt(double val) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

Greater than
gt(int val) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

Greater than
gte(double val) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

Greater than or equal to
gte(int val) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

Greater than or equal to
lt(double val) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

Less than
lt(int val) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

Less than
lte(double val) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

Less than or equal to
lte(int val) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

Less than or equal to
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator %(ConstCell<double> other) Cell<double>

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator %(ConstCell<int> other) Cell<int>

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator *(ConstCell<double> other) Cell<double>

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator *(ConstCell<int> other) Cell<int>

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator +(ConstCell<double> other) Cell<double>

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator +(ConstCell<int> other) Cell<int>

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator +(ConstCell<String> other) Cell<String>

Available on ConstCell<String>, provided by the StringConstCellExtension extension

operator -(ConstCell<double> other) Cell<double>

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator -(ConstCell<int> other) Cell<int>

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator /(ConstCell<double> other) Cell<double>

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator <(ConstCell<double> other) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator <(ConstCell<int> other) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator <=(ConstCell<double> other) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator <=(ConstCell<int> other) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator ==(covariant Object other) bool
The equality operator.
override
operator >(ConstCell<double> other) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator >(ConstCell<int> other) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator >=(ConstCell<double> other) bool

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator >=(ConstCell<int> other) bool

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator unary-() Cell<double>

Available on ConstCell<double>, provided by the DoubleConstCellExtension extension

operator unary-() Cell<int>

Available on ConstCell<int>, provided by the IntConstCellExtension extension

operator ~/(ConstCell<int> other) Cell<int>

Available on ConstCell<int>, provided by the IntConstCellExtension extension

Performs integer division of this object.