Defines a set of methods for readonly accessing Dictionary data.
- Implemented types
- Implementers
Constructors
Properties
Methods
-
array(
String key) → Array? -
Returns the value for the given
key
as an Array. -
blob(
String key) → Blob? -
Returns the value for the given
key
as a Blob. -
boolean(
String key) → bool -
Returns the value for the given
key
as a bool. -
contains(
String key) → bool -
Returns whether an entry with the given
key
exists in this dictionary. -
date(
String key) → DateTime? -
Returns the value for the given
key
as a DateTime. -
dictionary(
String key) → Dictionary? -
Returns the value for the given
key
as a Dictionary. -
float(
String key) → double -
Returns the value for the given
key
as a floating point number. -
integer(
String key) → int -
Returns the value for the given
key
as an integer number. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
number(
String key) → num? -
Returns the value for the given
key
as a num. -
string(
String key) → String? -
Returns the value for the given
key
as a String. -
toPlainMap(
) → Map< String, Object?> - Deeply converts this dictionary into a representation of plain Dart objects and returns it.
-
toString(
) → String -
A string representation of this object.
inherited
-
value<
T extends Object> (String key) → T? -
Returns the value for the given
key
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → Fragment -
Returns a Fragment for the value at the given
key
.inherited