InitMessagingResult constructor

const InitMessagingResult({
  1. @JsonKey(name: 'needaction_inbox_counter') required int needactionInboxCounter,
  2. @JsonKey(name: 'starred_counter') required int starredCounter,
  3. @JsonKey(name: 'current_partner') required Partner currentPartner,
  4. @JsonKey(name: 'current_user_id') required int currentUserId,
  5. @JsonKey(name: 'channel_slots') ChannelSlots? channelSlots,
  6. @JsonKey(name: 'channels') List<Channel>? channels_,
})

Implementation

const factory InitMessagingResult({
  @JsonKey(name: 'needaction_inbox_counter')
  required int needactionInboxCounter,
  @JsonKey(name: 'starred_counter') required int starredCounter,
  @JsonKey(name: 'current_partner') required Partner currentPartner,
  @JsonKey(name: 'current_user_id') required int currentUserId,
  @JsonKey(name: 'channel_slots') ChannelSlots? channelSlots,
  @JsonKey(name: 'channels') List<Channel>? channels_,
}) = _InitMessagingResult;