ArrayInterface class abstract interface Document

Defines a set of methods for readonly accessing array data.

Implemented types
Implementers

Constructors

ArrayInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
The number of elements in this array.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

array(int index) Array?
Returns the element at the given index as an Array.
blob(int index) Blob?
Returns the element at the given index as a Blob.
boolean(int index) bool
Returns the element at the given index as a bool.
date(int index) DateTime?
Returns the element at the given index as a DateTime.
dictionary(int index) Dictionary?
Returns the element at the given index as a Dictionary.
float(int index) double
Returns the element at the given index as an floating point number.
integer(int index) int
Returns the element at the given index as an integer number.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
number(int index) num?
Returns the element at the given index as a num.
string(int index) String?
Returns the element at the given index as a String.
toPlainList() List<Object?>
Deeply converts this array into a representation of plain Dart objects and returns it.
toString() String
A string representation of this object.
inherited
value<T extends Object>(int index) → T?
Returns the element at the given index.

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) Fragment
Returns a Fragment for the value at the given index.
inherited