CustomDocumentEditEvent<T extends CustomDocument> constructor
CustomDocumentEditEvent<T extends CustomDocument> ({
- CustomDocument? document,
- String? label,
- FutureOr<
void> undo()?, - FutureOr<
void> redo()?,
Implementation
factory CustomDocumentEditEvent({
_i3.CustomDocument? document,
_i2.String? label,
_i4.FutureOr<void> Function()? undo,
_i4.FutureOr<void> Function()? redo,
}) =>
CustomDocumentEditEvent._(
document: document,
label: label,
undo: undo == null
? null
: _i5.allowInterop(() => _i6.Promise.futureOr(() => undo())),
redo: redo == null
? null
: _i5.allowInterop(() => _i6.Promise.futureOr(() => redo())),
);