PlayerEvent.fromJson constructor
PlayerEvent.fromJson(
- Map json_
Implementation
PlayerEvent.fromJson(core.Map json_)
: this(
definitionId: json_.containsKey('definitionId')
? json_['definitionId'] as core.String
: null,
formattedNumEvents: json_.containsKey('formattedNumEvents')
? json_['formattedNumEvents'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
numEvents: json_.containsKey('numEvents')
? json_['numEvents'] as core.String
: null,
playerId: json_.containsKey('playerId')
? json_['playerId'] as core.String
: null,
);