ConvoView class

Available extensions
Annotations
  • @freezed

Constructors

ConvoView.new({@Default(chatBskyConvoDefsConvoView) @JsonKey(name: r'$type') String $type, required String id, required String rev, @ProfileViewBasicConverter() required List<ProfileViewBasic> members, @UConvoViewLastMessageConverter() UConvoViewLastMessage? lastMessage, required bool muted, required int unreadCount, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ConvoView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $ConvoViewCopyWith<ConvoView>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasLastMessage bool

Available on ConvoView, provided by the $ConvoViewExtension extension

Returns true if lastMessage is not null, otherwise false.
no setter
hasNotLastMessage bool

Available on ConvoView, provided by the $ConvoViewExtension extension

Returns true if lastMessage is null, otherwise false.
no setter
hasNotUnknown bool

Available on ConvoView, provided by the $ConvoViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasUnknown bool

Available on ConvoView, provided by the $ConvoViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
id String
no setterinherited
lastMessage UConvoViewLastMessage?
no setterinherited
members List<ProfileViewBasic>
no setterinherited
muted bool
no setterinherited
rev String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unreadCount 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