JList class

A wrapper around a List<dynamic>.

Constructors

JList(List? list)

Properties

count int
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
length int
The length of this list.
no setter
list List
Returns the internal list.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deepClone() JList
getBool(int idx) bool
Gets a bool or false.
getBoolOrNull(int idx) bool?
Gets a nullable bool.
getDouble(int idx) double
Gets a double or 0.
getDoubleOrNull(int idx) double?
Gets a nullable double.
getInt(int idx) int
Gets an int or 0.
getIntOrNull(int idx) int?
Gets a nullable int.
getJList(int idx) JList?
Gets a JList that can be empty.
getJListOrNull(int idx) JList?
Gets a nullable JList.
getJMap(int idx) JMap
Gets a JMap that can be empty.
getJMapOrNull(int idx) JMap?
Gets a nullable JMap.
getString(int idx) String
Gets a String or ''.
getStringOrNull(int idx) String?
Gets a nullable String.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJMapList() JMapList
toList<T>() List<T>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited