toJson method Null safety

String toJson()

Encodes TeamRating object to json string

Implementation

String toJson() => json.encode(toMap());