GroupInfoEntity class

Groups are identified in a way similar to individual files. A group ID consists of a UUID followed by a ~ tilde character and a group size: integer number of files in group. For example, here is an identifier for a group holding 12 files, badfc9f7-f88f-4921-9cc0-22e2c08aa2da~12

Constructors

GroupInfoEntity({required DateTime datetimeCreated, required List<FileInfoEntity> files, required int filesCount, required String id, DateTime? datetimeStored})
const
GroupInfoEntity.fromJson(Map<String, dynamic> json)
factory

Properties

datetimeCreated DateTime
Date and time when a group was created.
final
datetimeStored DateTime?
Date and time when files in a group were stored.
final
files List<FileInfoEntity>
List of FileInfoEntity in a group. Deleted files are represented as null to always preserve a number of files in a group in line with a group ID.
final
filesCount int
Number of files in a group.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Group identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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

Operators

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