PlayerTournament class
Player tournament response example:
[
{
"idplayer": 2027,
"idteam": 26777,
"idtournament": 219
},
{
"idplayer": 2027,
"idteam": 26777,
"idtournament": 314
}
]
Constructors
- PlayerTournament({required int? idPlayer, required int idTeam, required int idTournament})
-
PlayerTournament.fromJson(Map<
String, dynamic> json) -
factory
- PlayerTournament.fromRawJson(String str)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- idPlayer → int?
-
final
- idTeam → int
-
final
- idTournament → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{required int? idPlayer, required int idTeam, required int idTournament}) → PlayerTournament -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toRawJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decodeList(
List list) → Iterable< PlayerTournament>