StorageObject class

Annotations
  • @freezed

Constructors

StorageObject({required String collection, required String key, String? userId, required String value, required String version, int? permissionRead, int? permissionWrite, DateTime? createTime, DateTime? updateTime})
const
factory
StorageObject.fromDto(StorageObject dto)
factory
StorageObject.fromJson(Map<String, Object?> json)
factory

Properties

collection String
no setterinherited
copyWith → $StorageObjectCopyWith<StorageObject>
no setterinherited
createTime DateTime?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
no setterinherited
permissionRead int?
no setterinherited
permissionWrite int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime DateTime?
no setterinherited
userId String?
no setterinherited
value String
no setterinherited
version String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited