ProfileViewBasic constructor

  1. @jsonSerializable
const ProfileViewBasic({
  1. required String did,
  2. required String handle,
  3. String? displayName,
  4. String? avatar,
  5. ProfileAssociated? associated,
  6. @Default(ActorViewer()) ActorViewer viewer,
  7. List<Label>? labels,
  8. @Default(false) bool chatDisabled,
})

Implementation

@jsonSerializable
const factory ProfileViewBasic({
  required String did,
  required String handle,
  String? displayName,
  String? avatar,
  ProfileAssociated? associated,
  @Default(ActorViewer()) ActorViewer viewer,
  List<Label>? labels,
  @Default(false) bool chatDisabled,
}) = _ProfileViewBasic;