UserProfile constructor

const UserProfile({
  1. required String id,
  2. String? name,
  3. String? photo,
  4. ProfileExtra extra = const {},
  5. required String platform,
  6. required String token,
  7. String? room,
  8. bool newMessageAlerts = false,
  9. bool newRoomAlerts = false,
})

Implementation

const UserProfile({
  required super.id,
  super.name,
  super.photo,
  super.extra,
  required this.platform,
  required this.token,
  this.room,
  this.newMessageAlerts = false,
  this.newRoomAlerts = false,
});