FragmentInterface class Null safety Document
Readonly access to the data value wrapped by a Fragment object.
- Implementers
Constructors
Properties
- array → Array?
-
The value of this fragment as an Array.
read-only
- blob → Blob?
-
The value of this fragment as a Blob.
read-only
- boolean → bool
-
The value of this fragment as a bool.
read-only
- date → DateTime?
-
The value of this fragment as a DateTime.
read-only
- dictionary → Dictionary?
-
The value of this fragment as a Dictionary.
read-only
- exists → bool
-
Whether the value of this fragment exists.
read-only
- float → double
-
The value of this fragment as a floating point number.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- integer → int
-
The value of this fragment as an integer number.
read-only
- number → num?
-
The value of this fragment as a num.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- string → String?
-
The value of this fragment as a String.
read-only
- value → Object?
-
The value of this fragment.
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
.
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited