EditorMessage constructor

const EditorMessage({
  1. required String key,
  2. String type = "toDart",
  3. required String method,
  4. String? payload,
})

Build a message.

Implementation

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