copyWith method

UndoManagerRef copyWith({
  1. int? ref,
})

Returns a new instance by overriding the values passed as arguments

Implementation

UndoManagerRef copyWith({int /*U32*/ ? ref}) =>
    UndoManagerRef(ref: ref ?? this.ref);