KvEntry class
Constructors
Properties
- created ↔ String?
-
Created is when this revision was written, RFC3339.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- key ↔ String?
-
Key is the entry's key.
getter/setter pair
- operation ↔ String?
-
Operation is what wrote the revision: put, del or purge.
getter/setter pair
- revision ↔ int?
-
Revision is the entry's revision in the bucket.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String?
-
Value is the value as UTF-8 text; empty for delete and purge markers.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → KvEntry? -
Returns a new KvEntry instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< KvEntry> -
mapFromJson(
dynamic json) → Map< String, KvEntry> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< KvEntry> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.