TeamTournament class Null safety

Response example:

{
"idteam": 58380,
"idseason": 54,
"tournaments": [
    "6035",
    "7110",
    "7099",
    "6143",
    "6283",
    "6273",
    "6925",
    "6866",
    "6278",
    "6676"
]
}
Annotations

Constructors

TeamTournament({int? idTeam, int? idSeason, List<String>? tournaments})
const
TeamTournament.fromJson(String str)
Decodes TeamTournament object from json string
factory
TeamTournament.fromMap(Map<String, dynamic> json)
Decodes TeamTournament object from json map
factory

Properties

hashCode int
The hash code for this object.
read-only, override
idSeason int?
final
idTeam int?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tournaments List<String>?
final

Methods

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

Operators

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