PlayerErrorsRaisedEvent.fromJson constructor
Implementation
factory PlayerErrorsRaisedEvent.fromJson(Map<String, dynamic> json) {
return PlayerErrorsRaisedEvent(
playerId: PlayerId.fromJson(json['playerId'] as String),
errors: (json['errors'] as List)
.map((e) => PlayerError.fromJson(e as Map<String, dynamic>))
.toList(),
);
}