User class

Constructors

User({bool? canJoinGroups, bool? canReadAllGroupMessages, required String firstName, String? lastName, required int id, required bool isBot, bool? supportsInlineQueries, String? username, String? languageCode})

Properties

canJoinGroups bool?
getter/setter pair
canReadAllGroupMessages bool?
getter/setter pair
firstName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
isBot bool
getter/setter pair
languageCode String?
getter/setter pair
lastName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsInlineQueries bool?
getter/setter pair
username String?
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) User
listFromJsonArray(List json) List<User>