TournamentSearch class

Response example:

{
"items": [
    {
        "idtournament": "6431",
        "name": "Онлайн: 22:00 MSK / KYIV  \"Триптих. Лето\" (NEW!)",
        "date_start": "2021-06-04 22:00:00",
        "date_end": "0000-00-00 00:00:00",
        "type_name": "Обычный",
        "archive": "2021-06-04 22:00:00",
        "date_archived_at": "2021-06-04 22:00:00"
    },
    {
        "idtournament": "6621",
        "name": "Онлайн: 22:00 MSK / KYIV \"Молодежный чемпионат Приволжья\" (NEW!)",
        "date_start": "2021-06-08 22:00:00",
        "date_end": "0000-00-00 00:00:00",
        "type_name": "Обычный",
        "archive": "2021-06-04 22:00:00",
        "date_archived_at": "2021-06-04 22:00:00"
    }
],
"total_items": "6122",
"current_items": "1-5"
}
Annotations
  • @immutable

Constructors

TournamentSearch({List<Tournament>? items, String? totalItems, String? currentItems})
const
TournamentSearch.fromJson(String str)
Decodes TournamentSearch object from json string
factory
TournamentSearch.fromMap(Map<String, dynamic> json)
Decodes TournamentSearch object from json map
factory

Properties

currentItems String?
final
hashCode int
The hash code for this object.
no setteroverride
items List<Tournament>?
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 TournamentSearch object to json string
toMap() Map<String, dynamic>
Encodes TournamentSearch object to json map
toString() String
A string representation of this object.
override

Operators

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