CommentsExternalUser constructor

CommentsExternalUser({
  1. required String id,
  2. String? name,
  3. String? avatarUrl,
})

Creates an external user representation passed to the backend for JWT generation.

  • id must be a stable identifier from your application.
  • name and avatarUrl are optional and can be omitted when not known.

Implementation

CommentsExternalUser({
  required this.id,
  this.name,
  this.avatarUrl,
});