copyWith method

ExactNumberInfo copyWith({
  1. Option<BigInt>? precision,
  2. Option<BigInt>? scale,
})

Returns a new instance by overriding the values passed as arguments

Implementation

ExactNumberInfo copyWith({
  Option<BigInt /*U64*/ >? precision,
  Option<BigInt /*U64*/ >? scale,
}) =>
    ExactNumberInfo(
        precision: precision != null ? precision.value : this.precision,
        scale: scale != null ? scale.value : this.scale);