Invitation class

Annotations
  • @JsonSerializable.new()

Constructors

Invitation({required String id, required String email, required String inviterId, required String organizationId, required String role, required String status, required DateTime expiresAt, required DateTime createdAt, String? teamId, User? inviter, Organization? organization})
const
Invitation.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime
final
email String
final
expiresAt DateTime
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
inviter User?
final
inviterId String
final
organization Organization?
final
organizationId String
final
role String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
final
teamId String?
final

Methods

copyWith({String? id, String? email, String? inviterId, String? organizationId, String? role, String? status, DateTime? expiresAt, DateTime? createdAt, String? teamId, User? inviter, Organization? organization}) Invitation
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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