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<
Equal tobool> , provided by the BoolConstCellExtension extension -
eq(
double val) → bool -
Available on ConstCell<
Equal todouble> , provided by the DoubleConstCellExtension extension -
eq(
int val) → bool -
Available on ConstCell<
Equal toint> , provided by the IntConstCellExtension extension -
eq(
String val) → bool -
Available on ConstCell<
Equal toString> , provided by the StringConstCellExtension extension -
get(
) → T - Returns the inner value.
-
gt(
double val) → bool -
Available on ConstCell<
Greater thandouble> , provided by the DoubleConstCellExtension extension -
gt(
int val) → bool -
Available on ConstCell<
Greater thanint> , provided by the IntConstCellExtension extension -
gte(
double val) → bool -
Available on ConstCell<
Greater than or equal todouble> , provided by the DoubleConstCellExtension extension -
gte(
int val) → bool -
Available on ConstCell<
Greater than or equal toint> , provided by the IntConstCellExtension extension -
lt(
double val) → bool -
Available on ConstCell<
Less thandouble> , provided by the DoubleConstCellExtension extension -
lt(
int val) → bool -
Available on ConstCell<
Less thanint> , provided by the IntConstCellExtension extension -
lte(
double val) → bool -
Available on ConstCell<
Less than or equal todouble> , provided by the DoubleConstCellExtension extension -
lte(
int val) → bool -
Available on ConstCell<
Less than or equal toint> , provided by the IntConstCellExtension extension -
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<
Performs integer division of this object.int> , provided by the IntConstCellExtension extension