PlayerTournament class

Response example:

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

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.
no setteroverride
idTeam String?
final
idTournament String
final
inBaseTeam String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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