PlayerRating.fromJson constructor Null safety

PlayerRating.fromJson(
  1. String str
)

Decodes PlayerRating object from json string

Implementation

factory PlayerRating.fromJson(String str) =>
    PlayerRating.fromMap(json.decode(str));