CommentsExternalUser class
Lightweight description of the end-user interacting with the comment UI.
Constructors
- CommentsExternalUser({required String id, String? name, String? avatarUrl})
- Creates an external user representation passed to the backend for JWT generation.
Properties
- avatarUrl → String?
-
Optional avatar URL that will be stored on the platform.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable identifier of the user inside your application.
final
- name → String?
-
Optional display name shown next to comments.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes the user into the payload expected by the token endpoint.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited