MutableFragment class abstract Document

Provides read and write access to data value.

MutableFragment also provides subscript access by either key or index to the nested values which are wrapped by MutableFragment objects.

Implemented types

Constructors

MutableFragment()

Properties

array Array?
The value of this fragment as an Array.
getter/setter pairinherited
blob Blob?
The value of this fragment as a Blob.
getter/setter pairinherited
boolean bool
The value of this fragment as a bool.
getter/setter pairinherited
date DateTime?
The value of this fragment as a DateTime.
getter/setter pairinherited
dictionary Dictionary?
The value of this fragment as a Dictionary.
getter/setter pairinherited
exists bool
Whether the value of this fragment exists.
no setterinherited
float double
The value of this fragment as a floating point number.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
integer int
The value of this fragment as an integer number.
getter/setter pairinherited
number num?
The value of this fragment as a num.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
string String?
The value of this fragment as a String.
getter/setter pairinherited
value Object?
The value of this fragment.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
valueAs<T extends Object>() → T?
The value of this fragment as a value of type T.
inherited

Operators

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