PlayerScore.fromJson constructor
PlayerScore.fromJson(
- Map json_
Implementation
PlayerScore.fromJson(core.Map json_)
: this(
formattedScore: json_.containsKey('formattedScore')
? json_['formattedScore'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
score:
json_.containsKey('score') ? json_['score'] as core.String : null,
scoreTag: json_.containsKey('scoreTag')
? json_['scoreTag'] as core.String
: null,
timeSpan: json_.containsKey('timeSpan')
? json_['timeSpan'] as core.String
: null,
);