InitMessagingResult constructor
const
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_,
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;