BankCircleMember class

A participant in a BankMoneyCircleCard rotating savings circle.

Immutable value object. turnIndex is 1-based: the member with turnIndex == 1 collects the pot in the first cycle.

Annotations

Constructors

BankCircleMember({required String id, required String name, required int turnIndex, String? avatarUrl, bool paidThisCycle = false, bool isMe = false, bool isAdmin = false})
Creates an immutable money-circle member.
const

Properties

avatarUrl String?
Optional avatar URL, resolved via BankUiScope.imageProviderFor.
final
hashCode int
The hash code for this object.
no setteroverride
id String
Stable unique identifier for the member.
final
isAdmin bool
Whether this member administers the circle.
final
isMe bool
Whether this member is the signed-in user.
final
name String
Display name, also used for the emblem initials fallback.
final
paidThisCycle bool
Whether this member's contribution was collected this cycle.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
turnIndex int
1-based position in the collection rotation.
final

Methods

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

Operators

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