BucketRecord class

Constructors

BucketRecord({String? bucket, int? history, int? ttl, int? values})
Returns a new BucketRecord instance.

Properties

bucket ↔ String?
Bucket is the bucket's name within the org.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
history ↔ int?
History is how many revisions each key keeps.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
ttl ↔ int?
TTL is the entry expiry in seconds; 0 means none.
getter/setter pair
values ↔ int?
Values is how many values the bucket holds right now.
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) → BucketRecord?
Returns a new BucketRecord instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BucketRecord>
mapFromJson(dynamic json) → Map<String, BucketRecord>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BucketRecord>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.