copyWith method

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

Returns a new instance by overriding the values passed as arguments

Implementation

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