Build a message.
const EditorMessage({ required this.key, this.type = "toDart", required this.method, this.payload, });