TeamSearch class Null safety

Response example:

{
"items": [
    {
        "idteam": "58380",
        "name": "Олег с мышами",
        "town": "Варшава",
        "region_name": "Мазовецкое воеводство",
        "country_name": "Польша",
        "tournaments_this_season": "0",
        "tournaments_total": "125"
    }
],
"total_items": "1",
"current_items": "1-100"
 }
Annotations

Constructors

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

Properties

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

Operators

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