TournamentTeamPlayer class

Response example:

{
"idplayer": "68445",
"is_captain": "0",
"is_base": "1",
"is_foreign": "0"
}
Annotations
  • @immutable

Constructors

TournamentTeamPlayer({String? idPlayer, String? isCaptain, String? isBase, String? isForeign})
const
TournamentTeamPlayer.fromJson(String str)
Decodes TournamentTeamPlayer object from json string
factory
TournamentTeamPlayer.fromMap(Map<String, dynamic> json)
Decodes TournamentTeamPlayer object from json map
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
idPlayer String?
final
isBase String?
final
isCaptain String?
final
isForeign 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 TournamentTeamPlayer object to json string
toMap() Map<String, dynamic>
Encodes TournamentTeamPlayer object to json map
toString() String
A string representation of this object.
override

Operators

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