copyWith method

TestReturnError copyWith({
  1. TdError? error,
})

Implementation

TestReturnError copyWith({
  TdError? error,
}) =>
    TestReturnError(
      error: error ?? this.error,
    );