InitMessagingResult class

Available extensions
Annotations
  • @freezed

Constructors

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_})
const
factory
InitMessagingResult.fromJson(Map<String, dynamic> json)
factory

Properties

channels List<Channel>

Available on InitMessagingResult, provided by the InitMessagingResultExtension extension

no setter
channels_ List<Channel>?
no setterinherited
channelSlots ChannelSlots?
no setterinherited
copyWith → $InitMessagingResultCopyWith<InitMessagingResult>
no setterinherited
currentPartner Partner
no setterinherited
currentUserId int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
needactionInboxCounter int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
starredCounter int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited