CanvasState constructor

CanvasState({
  1. void reset()?,
  2. void restore()?,
  3. void save()?,
})

Implementation

factory CanvasState({
  void Function()? reset,
  void Function()? restore,
  void Function()? save,
}) =>
    CanvasState._(
      reset: reset == null ? null : _i4.allowInterop(reset),
      restore: restore == null ? null : _i4.allowInterop(restore),
      save: save == null ? null : _i4.allowInterop(save),
    );