UndoCommandJournalEntry constructor

const UndoCommandJournalEntry({
  1. required String type,
  2. Map<String, Object?> payload = const <String, Object?>{},
})

Creates a serializable journal entry.

Implementation

const UndoCommandJournalEntry({
  required this.type,
  this.payload = const <String, Object?>{},
});