AuthOrganizationMember class final

Authentication data for auth organization member.

Constructors

AuthOrganizationMember({required String id, required String organizationId, required String userId, required Iterable<String> roles, required DateTime createdAt, Map<String, dynamic>? attributes})
Creates an instance of AuthOrganizationMember.
AuthOrganizationMember.fromJson(Map<String, dynamic> json)
Creates an instance from a JSON map.
factory

Properties

attributes → Map<String, dynamic>
Additional attributes associated with this value.
final
createdAt → DateTime
The time at which created occurred.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique identifier.
final
organizationId → String
The identifier of the organization.
final
roles → List<String>
The roles assigned to this value.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userId → String
The identifier of the user.
final

Methods

copyWith({Iterable<String>? roles, Map<String, dynamic>? attributes}) → AuthOrganizationMember
Creates a copy with selected fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this value to a JSON-compatible map.
toString() → String
A string representation of this object.
inherited

Operators

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