Membership class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
- Membership({required String id, required String orgId, required String userId, required OrgRole role, required DateTime createdAt})
- Returns a new Membership instance.
-
Membership.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyWith → _$MembershipCWProxy
-
Available on Membership, provided by the $MembershipCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfMembership.copyWith(...)orinstanceOfMembership.copyWith.fieldName(...).no setter - createdAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- orgId → String
-
final
- role → OrgRole
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String
-
final
Methods
-
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