ObjectList class
Constructors
-
ObjectList({String? bucket, List<
ObjectItem> objects = const [], String? prefix, int? total}) - Returns a new ObjectList instance.
Properties
- bucket ↔ String?
-
Bucket is the bucket that was listed, friendly name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
objects
↔ List<
ObjectItem> -
Objects are the entries at this level, keys RELATIVE to Prefix.
getter/setter pair
- prefix ↔ String?
-
Prefix is the sub-folder the listing was scoped to, cleaned. Empty for the bucket root.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total ↔ int?
-
Total is how many entries came back. The listing is BOUNDED, so a bucket with more keys than the cap answers the cap and this says so — it is not a count of what the bucket holds.
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) → ObjectList? -
Returns a new ObjectList instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ObjectList> -
mapFromJson(
dynamic json) → Map< String, ObjectList> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ObjectList> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.