Friend class

Represents a friend user in TalkApi.friends() API.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

Friend(int? id, String uuid, String? profileNickname, String? profileThumbnailImage, bool? favorite, bool? allowedMsg)
Friend.fromJson(Map<String, dynamic> json)
factory

Properties

allowedMsg bool?
Indicates whether a friend can receive a message.
final
favorite bool?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
Friend's app user id, used in user mapping with third-party services.
final
profileNickname String?
Friend's nickname, used to display to users.
final
profileThumbnailImage String?
Friend's thumbnail, used to display to users.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid String
final

Methods

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

Operators

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