InsanichessPlayer.fromJson constructor

InsanichessPlayer.fromJson(
  1. Map<String, dynamic> json
)

Constructs new InsanichessPlayer from json.

Implementation

InsanichessPlayer.fromJson(Map<String, dynamic> json)
    : id = json[InsanichessPlayerJsonKey.id],
      username = json[InsanichessPlayerJsonKey.username];