ChatFilterInfo class
Constructors
- ChatFilterInfo({required int id, required String title, required String iconName, dynamic extra, int? clientId})
-
Contains basic information about a chat filter
const
-
ChatFilterInfo.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
clientId client identifier
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconName → String
-
iconName The chosen or default icon name for short filter representation. One of "All", "Unread", "Unmuted", "Bots", "Channels", "Groups", "Private", "Custom", "Setup", "Cat", "Crown", "Favorite", "Flower", "Game", "Home", "Love", "Mask", "Party", "Sport", "Study", "Trade", "Travel", "Work"
final
- id → int
-
id Unique chat filter identifier
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
title The title of the filter; 1-12 characters without line feeds
final
Methods
-
copyWith(
{int? id, String? title, String? iconName, dynamic extra, int? clientId}) → ChatFilterInfo -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String