copyWith method

  1. @override
CallStateError copyWith({
  1. TdError? error,
})
override

Implementation

@override
CallStateError copyWith({
  TdError? error,
}) => CallStateError(
  error: error ?? this.error,
);