Bucket class

Constructors

Bucket({BucketLinks? links, String? id, BucketTypeEnum? type = const BucketTypeEnum._('user'), required String? name, String? description, String? orgID, String? rp, SchemaType? schemaType, DateTime? createdAt, DateTime? updatedAt, List<RetentionRule>? retentionRules = const [], List<Label>? labels = const []})
Returns a new Bucket instance.

Properties

createdAt DateTime?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
getter/setter pair
labels List<Label>?
getter/setter pair
getter/setter pair
name String?
getter/setter pair
orgID String?
getter/setter pair
retentionRules List<RetentionRule>?
Rules to expire or retain data. No rules means data never expires.
getter/setter pair
rp String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType SchemaType?
getter/setter pair
type BucketTypeEnum?
getter/setter pair
updatedAt DateTime?
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) Bucket
Returns a new Bucket instance and imports
listFromJson(dynamic json, {bool? emptyIsNull, bool? growable}) List<Bucket>?
mapFromJson(dynamic json) Map<String, Bucket?>
mapListFromJson(dynamic json, {bool? emptyIsNull, bool? growable}) Map<String, List<Bucket?>?>