LiteralList class
Configuration for defining a literal list.
Constructors
- LiteralList(List value)
-
Configuration for defining a literal list.
const
Properties
- awaited → Builder
-
Returns
this
prefixed with await.no setterinherited - declareConst → Builder
-
Returns
this
prefixed with const.no setterinherited - declareFinal → Builder
-
Returns
this
prefixed with final.no setterinherited - declareTypedef → Builder
-
Returns
this
prefixed with typedef.no setterinherited - declareVar → Builder
-
Returns
this
prefixed with var.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- negated → Builder
-
Returns the negated version of
this
.no setterinherited -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- returned → Builder
-
Returns
this
prefixed with return.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spread → Builder
-
Returns
this
prefixed with the spread operator.no setterinherited - statement → Builder
-
Returns
this
as a statement with a suffixed ;.no setterinherited - stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - thrown → Builder
-
Returns
this
prefixed with throw.no setterinherited - value → List
-
The value of this literal.
finalinherited
- yielded → Builder
-
Returns
this
prefixed with yield.no setterinherited
Methods
-
add(
Builder other) → Builder -
Returns the + operator of
this
andother
.inherited -
addAssign(
Builder other) → Builder -
Returns the += operator of
this
andother
.inherited -
and(
Builder other) → Builder -
Returns the and operation of
this
andother
.inherited -
as(
Builder other) → Builder -
Returns the as operation of
this
andother
.inherited -
assign(
Builder other) → Builder -
Returns the assign operation of
this
andother
.inherited -
assignCoalescing(
Builder other) → Builder -
Returns the assign coalescing of
this
andother
.inherited -
conditional(
Builder isTrue, Builder isFalse) → Builder -
Returns a conditional based on
this
.inherited -
declareType(
Reference type) → Builder -
Returns
this
prefixed with the provided type.inherited -
divide(
Builder other) → Builder -
Returns the / operator of
this
andother
.inherited -
divideAssign(
Builder other) → Builder -
Returns the /= operator of
this
andother
.inherited -
equalTo(
Builder other) → Builder -
Returns the equal to operation of
this
andother
.inherited -
greaterThan(
Builder other, {bool reverse = false}) → Builder -
Returns the greater than operation of
this
andother
.inherited -
greaterThanOrEqualTo(
Builder other, {bool reverse = false}) → Builder -
Returns the greater than or equal to of
this
andother
.inherited -
ifNullThen(
Builder other) → Builder -
Returns the ?? operation of
this
andother
.inherited -
in_(
Builder other) → Builder -
Returns the in operation of
this
andother
.inherited -
index(
Builder other) → Builder -
Returns the index operation on
this
withother
.inherited -
invoke(
[Iterable< Element> ? elements]) → Builder -
Returns the invocation of
this
.inherited -
isA(
Builder other) → Builder -
Returns the is operation of
this
andother
.inherited -
isNotA(
Builder other) → Builder -
Returns the is not operator of
this
andother
.inherited -
modulo(
Builder other) → Builder -
Returns the % operator of
this
andother
.inherited -
multiply(
Builder other) → Builder -
Returns the * operator of
this
andother
.inherited -
multiplyAssign(
Builder other) → Builder -
Returns the *= operator of
this
andother
.inherited -
named(
String name) → Builder -
Returns
this
as a named parameter withname
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEqualTo(
Builder other) → Builder -
Returns the not equal to operator of
this
andother
.inherited -
or(
Builder other) → Builder -
Returns the or operator of
this
andother
.inherited -
property(
String name, {bool isNullSafe = false}) → Builder -
Returns the name property of
this
.inherited -
propertyAssert(
String name) → Builder -
Returns the name property of
this
asserted.inherited -
propertyCascade(
String name) → Builder -
Returns the name property of
this
as cascade.inherited -
propetyConditional(
String name) → Builder -
Returns the name property of
this
conditionally.inherited -
subtract(
Builder other) → Builder -
Returns the - operator of
this
andother
.inherited -
subtractAssign(
Builder other) → Builder -
Returns the -= operator of
this
andother
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited