Team class

Response example:

{
"idteam": "58380",
"name": "Олег с мышами",
"town": "Варшава",
"region_name": "Мазовецкое воеводство",
"country_name": "Польша",
"tournaments_this_season": "0",
"tournaments_total": "125",
"comment": "Комментарий"
}
Annotations
  • @immutable

Constructors

Team({required String idTeam, String? name, String? town, String? regionName, String? countryName, String? tournamentsThisSeason, String? tournamentsTotal, String? comment})
const
Team.fromJson(String str)
Decodes Team object from json string
factory
Team.fromMap(Map<String, dynamic> json)
Decodes Team object from json map
factory

Properties

comment String?
final
countryName String?
final
hashCode int
The hash code for this object.
no setteroverride
idTeam String
final
name String?
final
regionName String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tournamentsThisSeason String?
final
tournamentsTotal String?
final
town String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Encodes Team object to json string
toMap() Map<String, dynamic>
Encodes Team object to json map
toString() String
A string representation of this object.
override

Operators

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