copyWith method

SessionDigestState copyWith({
  1. SessionDigest? digest,
  2. bool? isGenerating,
  3. String? error,
})

Implementation

SessionDigestState copyWith({
  SessionDigest? digest,
  bool? isGenerating,
  String? error,
}) => SessionDigestState(
  digest: digest ?? this.digest,
  isGenerating: isGenerating ?? this.isGenerating,
  error: error,
);