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