EditorMessage.fromJson constructor
Implementation
factory EditorMessage.fromJson(Map<String, dynamic> map) {
return EditorMessage(
key: map["key"] as String,
type: map["type"] as String,
method: map["method"] as String,
payload: map["payload"] != null ? map["payload"] as String : null,
);
}