PlayerTeam class

Player team response example:

{
"idplayer": "147205",
"idteam": "58380",
"idseason": "50",
"is_captain": "0",
"added_since": "2017-04-21"
}

Constructors

PlayerTeam({required int idPlayer, required int idSeason, required int idTeam, required DateTime? dateAdded, required DateTime? dateRemoved, required int playerNumber})
PlayerTeam.fromJson(Map<String, dynamic> json)
factory
PlayerTeam.fromRawJson(String str)
factory

Properties

dateAdded DateTime?
final
dateRemoved DateTime?
final
hashCode int
The hash code for this object.
no setteroverride
idPlayer int
final
idSeason int
final
idTeam int
final
playerNumber int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({required int idPlayer, required int idSeason, required int idTeam, required DateTime? dateAdded, required DateTime? dateRemoved, required int playerNumber}) PlayerTeam
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<PlayerTeam>