DatabaseJson class final

A JSON value in a drift database.

This is a dedicated class to ensure that e.g. JSON strings are still represented as DatabaseJsons consistently (whereas raw Strings might be interpreted as raw text).

Properties

dartValue → Object?
The decoded JSON value.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object?
Returns the dartValue.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override