PlayerTeam class

Response example:

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

Constructors

PlayerTeam({required String idPlayer, required String idTeam, String? idSeason, String? isCaptain, DateTime? addedSince})
const
PlayerTeam.fromJson(String str)
Decodes PlayerTeam object from json string
factory
PlayerTeam.fromMap(Map<String, dynamic> json)
Decodes PlayerTeam object from json map
factory

Properties

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

Operators

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