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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override