EditorMessage.fromEvent constructor
EditorMessage.fromEvent({
- required String key,
- required EditorEvent event,
- String type = "toSummernote",
Implementation
factory EditorMessage.fromEvent({
required String key,
required EditorEvent event,
String type = "toSummernote",
}) =>
EditorMessage(
key: key,
method: event.method,
payload: event.payload,
type: type,
);