PlayerSearch class Null safety

Response example:

{
"items": [
    {
        "idplayer": "3281",
        "surname": "Бескрёстнов",
        "name": "Андрей",
        "patronymic": "Юрьевич"
    },
    {
        "idplayer": "3903",
        "surname": "Бондарь",
        "name": "Андрей",
        "patronymic": "Юрьевич"
    }
],
"total_items": "169",
"current_items": "1-1000"
}
Annotations

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.
read-only, override
items List<Player>?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalItems String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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