copyWith method

Implementation

ScanResult copyWith({
  Result<DiscoveredDevice, GenericFailure<ScanFailure>?>? result,
}) =>
    ScanResult(
      result: result ?? this.result,
    );