Bucket constructor
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.
Implementation
Bucket({
this.links,
this.id,
this.type = const BucketTypeEnum._('user'),
required this.name,
this.description,
this.orgID,
this.rp,
this.schemaType,
this.createdAt,
this.updatedAt,
this.retentionRules = const [],
this.labels = const [],
});