Invite class final

Constructors

Invite({required String id, required String projectId, required String organizationId, required String email, required AdminRole role, required InviteState state, required String invitedBy, required String invitedByName, required String createdAt, required String expiresAt, String? acceptedAt, String? acceptedBy})
const
Invite.fromJson(Map<String, Object?> json)
factory

Properties

acceptedAt → String?
final
acceptedBy → String?
Platform user id that redeemed it.
final
createdAt → String
RFC 3339 UTC timestamp with six fractional digits, e.g. 2026-08-17T09:30:00.000000Z
final
email → String
Address the invitation was issued to, lowercased.
final
expiresAt → String
RFC 3339 UTC timestamp with six fractional digits, e.g. 2026-08-17T09:30:00.000000Z
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Invitation id, invite_{ulid}.
final
invitedBy → String
Platform user id of the owner who issued it.
final
invitedByName → String
Display name of the inviter, denormalized for listing.
final
organizationId → String
Organization the invitee joins; taken from the inviter, never the request.
final
projectId → String
Project the invitee will gain a role on.
final
role → AdminRole
A platform user’s role on one project.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → InviteState
Invitation lifecycle; accepted/revoked/expired are terminal.
final

Methods

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

Operators

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