Party class

Annotations
  • @freezed

Constructors

Party({required String partyId, required bool open, required int maxSize, required UserPresence self, required UserPresence leader, required List<UserPresence> presences})
const
factory
Party.fromDto(Party dto)
factory

Properties

copyWith → $PartyCopyWith<Party>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
leader UserPresence
Leader.
no setterinherited
maxSize int
Maximum number of party members.
no setterinherited
open bool
Open flag.
no setterinherited
partyId String
Unique party identifier.
no setterinherited
presences List<UserPresence>
All current party members.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self UserPresence
Self.
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