TeamRating class Null safety

Response example:

{
"idteam": "58380",
"idrelease": "1283",
"rating": "672",
"rating_position": "9999",
"date": "2017-04-20",
"tech_rating": "840",
"formula": "b"
}
Annotations

Constructors

TeamRating({String? idTeam, String? idRelease, String? rating, String? ratingPosition, DateTime? date, String? techRating, String? formula})
const
TeamRating.fromJson(String str)
Decodes TeamRating object from json string
factory
TeamRating.fromMap(Map<String, dynamic> json)
Decodes TeamRating object from json map
factory

Properties

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

Methods

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

Operators

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