copyWithWrapped method

VerificationAttemptResponseModel copyWithWrapped({
  1. Wrapped<String>? text,
  2. Wrapped<int>? dateUnix,
  3. Wrapped<bool>? accepted,
  4. Wrapped<double>? similarity,
  5. Wrapped<double>? levenshteinDistance,
  6. Wrapped? recording,
})

Implementation

VerificationAttemptResponseModel copyWithWrapped(
    {Wrapped<String>? text,
    Wrapped<int>? dateUnix,
    Wrapped<bool>? accepted,
    Wrapped<double>? similarity,
    Wrapped<double>? levenshteinDistance,
    Wrapped<dynamic>? recording}) {
  return VerificationAttemptResponseModel(
      text: (text != null ? text.value : this.text),
      dateUnix: (dateUnix != null ? dateUnix.value : this.dateUnix),
      accepted: (accepted != null ? accepted.value : this.accepted),
      similarity: (similarity != null ? similarity.value : this.similarity),
      levenshteinDistance: (levenshteinDistance != null
          ? levenshteinDistance.value
          : this.levenshteinDistance),
      recording: (recording != null ? recording.value : this.recording));
}