PlayerRating class Null safety

Response example:

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

Constructors

PlayerRating({String? idPlayer, String? idRelease, String? rating, String? ratingPosition, DateTime? date, String? tournamentsInYear, String? tournamentCountTotal})
const
PlayerRating.fromJson(String str)
Decodes PlayerRating object from json string
factory
PlayerRating.fromMap(Map<String, dynamic> json)
Decodes PlayerRating object from json map
factory

Properties

date DateTime?
final
hashCode int
The hash code for this object. [...]
read-only, override
idPlayer String?
final
idRelease String?
final
rating String?
final
ratingPosition String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tournamentCountTotal String?
final
tournamentsInYear String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
Encodes PlayerRating object to json String
toMap() Map<String, dynamic>
Encodes PlayerRating object to json map
toString() String
A string representation of this object. [...]
override

Operators

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