CharacterDataModifiedEvent.fromJson constructor

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

Implementation

factory CharacterDataModifiedEvent.fromJson(Map<String, dynamic> json) {
  return CharacterDataModifiedEvent(
    nodeId: NodeId.fromJson(json['nodeId'] as int),
    characterData: json['characterData'] as String,
  );
}