TournamentTeamPlayer class Null safety

Response example:

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

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.
read-only, override
idPlayer String?
final
isBase String?
final
isCaptain String?
final
isForeign 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 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