PlayerTournament class Null safety

Response example:

{
"idtournament": "6035",
"idteam": "58380",
"in_base_team": "0"
}
Annotations

Constructors

PlayerTournament({required String idTournament, String? idTeam, String? inBaseTeam})
const
PlayerTournament.fromJson(String str)
Decodes PlayerTournament object from json string
factory
PlayerTournament.fromMap(Map<String, dynamic> json)
Decodes PlayerTournament object from json map
factory

Properties

hashCode int
The hash code for this object.
read-only, override
idTeam String?
final
idTournament String
final
inBaseTeam String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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