PlayerSearch class
Response example:
{
"items": [
{
"idplayer": "3281",
"surname": "Бескрёстнов",
"name": "Андрей",
"patronymic": "Юрьевич"
},
{
"idplayer": "3903",
"surname": "Бондарь",
"name": "Андрей",
"patronymic": "Юрьевич"
}
],
"total_items": "169",
"current_items": "1-1000"
}
- Annotations
-
- @immutable
Constructors
-
PlayerSearch({List<
Player> ? items, String? totalItems, String? currentItems}) -
const
- PlayerSearch.fromJson(String str)
-
Decodes PlayerSearch object from json string
factory
-
PlayerSearch.fromMap(Map<
String, dynamic> json) -
Decodes PlayerSearch object from json map
factory
Properties
- currentItems → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
items
→ List<
Player> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalItems → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Encodes PlayerSearch object to json string
-
toMap(
) → Map< String, dynamic> - Encodes PlayerSearch object to json map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override