copyUsing method

ScanResult copyUsing(
  1. void mutator(
    1. ScanResult$Change change
    )
)

Implementation

ScanResult copyUsing(void Function(ScanResult$Change change) mutator) {
  final change = ScanResult$Change._(
    this.result,
  );
  mutator(change);
  return ScanResult(
    result: change.result,
  );
}