sign_up_bloc.freezed.dart 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
  3. part of 'sign_up_bloc.dart';
  4. // **************************************************************************
  5. // FreezedGenerator
  6. // **************************************************************************
  7. T _$identity<T>(T value) => value;
  8. final _privateConstructorUsedError = UnsupportedError(
  9. 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
  10. /// @nodoc
  11. class _$SignUpEventTearOff {
  12. const _$SignUpEventTearOff();
  13. SignUpWithUserEmailAndPassword signUpWithUserEmailAndPassword() {
  14. return const SignUpWithUserEmailAndPassword();
  15. }
  16. EmailChanged emailChanged(String email) {
  17. return EmailChanged(
  18. email,
  19. );
  20. }
  21. PasswordChanged passwordChanged(String password) {
  22. return PasswordChanged(
  23. password,
  24. );
  25. }
  26. }
  27. /// @nodoc
  28. const $SignUpEvent = _$SignUpEventTearOff();
  29. /// @nodoc
  30. mixin _$SignUpEvent {
  31. @optionalTypeArgs
  32. TResult when<TResult extends Object?>({
  33. required TResult Function() signUpWithUserEmailAndPassword,
  34. required TResult Function(String email) emailChanged,
  35. required TResult Function(String password) passwordChanged,
  36. }) =>
  37. throw _privateConstructorUsedError;
  38. @optionalTypeArgs
  39. TResult maybeWhen<TResult extends Object?>({
  40. TResult Function()? signUpWithUserEmailAndPassword,
  41. TResult Function(String email)? emailChanged,
  42. TResult Function(String password)? passwordChanged,
  43. required TResult orElse(),
  44. }) =>
  45. throw _privateConstructorUsedError;
  46. @optionalTypeArgs
  47. TResult map<TResult extends Object?>({
  48. required TResult Function(SignUpWithUserEmailAndPassword value)
  49. signUpWithUserEmailAndPassword,
  50. required TResult Function(EmailChanged value) emailChanged,
  51. required TResult Function(PasswordChanged value) passwordChanged,
  52. }) =>
  53. throw _privateConstructorUsedError;
  54. @optionalTypeArgs
  55. TResult maybeMap<TResult extends Object?>({
  56. TResult Function(SignUpWithUserEmailAndPassword value)?
  57. signUpWithUserEmailAndPassword,
  58. TResult Function(EmailChanged value)? emailChanged,
  59. TResult Function(PasswordChanged value)? passwordChanged,
  60. required TResult orElse(),
  61. }) =>
  62. throw _privateConstructorUsedError;
  63. }
  64. /// @nodoc
  65. abstract class $SignUpEventCopyWith<$Res> {
  66. factory $SignUpEventCopyWith(
  67. SignUpEvent value, $Res Function(SignUpEvent) then) =
  68. _$SignUpEventCopyWithImpl<$Res>;
  69. }
  70. /// @nodoc
  71. class _$SignUpEventCopyWithImpl<$Res> implements $SignUpEventCopyWith<$Res> {
  72. _$SignUpEventCopyWithImpl(this._value, this._then);
  73. final SignUpEvent _value;
  74. // ignore: unused_field
  75. final $Res Function(SignUpEvent) _then;
  76. }
  77. /// @nodoc
  78. abstract class $SignUpWithUserEmailAndPasswordCopyWith<$Res> {
  79. factory $SignUpWithUserEmailAndPasswordCopyWith(
  80. SignUpWithUserEmailAndPassword value,
  81. $Res Function(SignUpWithUserEmailAndPassword) then) =
  82. _$SignUpWithUserEmailAndPasswordCopyWithImpl<$Res>;
  83. }
  84. /// @nodoc
  85. class _$SignUpWithUserEmailAndPasswordCopyWithImpl<$Res>
  86. extends _$SignUpEventCopyWithImpl<$Res>
  87. implements $SignUpWithUserEmailAndPasswordCopyWith<$Res> {
  88. _$SignUpWithUserEmailAndPasswordCopyWithImpl(
  89. SignUpWithUserEmailAndPassword _value,
  90. $Res Function(SignUpWithUserEmailAndPassword) _then)
  91. : super(_value, (v) => _then(v as SignUpWithUserEmailAndPassword));
  92. @override
  93. SignUpWithUserEmailAndPassword get _value =>
  94. super._value as SignUpWithUserEmailAndPassword;
  95. }
  96. /// @nodoc
  97. class _$SignUpWithUserEmailAndPassword
  98. implements SignUpWithUserEmailAndPassword {
  99. const _$SignUpWithUserEmailAndPassword();
  100. @override
  101. String toString() {
  102. return 'SignUpEvent.signUpWithUserEmailAndPassword()';
  103. }
  104. @override
  105. bool operator ==(dynamic other) {
  106. return identical(this, other) || (other is SignUpWithUserEmailAndPassword);
  107. }
  108. @override
  109. int get hashCode => runtimeType.hashCode;
  110. @override
  111. @optionalTypeArgs
  112. TResult when<TResult extends Object?>({
  113. required TResult Function() signUpWithUserEmailAndPassword,
  114. required TResult Function(String email) emailChanged,
  115. required TResult Function(String password) passwordChanged,
  116. }) {
  117. return signUpWithUserEmailAndPassword();
  118. }
  119. @override
  120. @optionalTypeArgs
  121. TResult maybeWhen<TResult extends Object?>({
  122. TResult Function()? signUpWithUserEmailAndPassword,
  123. TResult Function(String email)? emailChanged,
  124. TResult Function(String password)? passwordChanged,
  125. required TResult orElse(),
  126. }) {
  127. if (signUpWithUserEmailAndPassword != null) {
  128. return signUpWithUserEmailAndPassword();
  129. }
  130. return orElse();
  131. }
  132. @override
  133. @optionalTypeArgs
  134. TResult map<TResult extends Object?>({
  135. required TResult Function(SignUpWithUserEmailAndPassword value)
  136. signUpWithUserEmailAndPassword,
  137. required TResult Function(EmailChanged value) emailChanged,
  138. required TResult Function(PasswordChanged value) passwordChanged,
  139. }) {
  140. return signUpWithUserEmailAndPassword(this);
  141. }
  142. @override
  143. @optionalTypeArgs
  144. TResult maybeMap<TResult extends Object?>({
  145. TResult Function(SignUpWithUserEmailAndPassword value)?
  146. signUpWithUserEmailAndPassword,
  147. TResult Function(EmailChanged value)? emailChanged,
  148. TResult Function(PasswordChanged value)? passwordChanged,
  149. required TResult orElse(),
  150. }) {
  151. if (signUpWithUserEmailAndPassword != null) {
  152. return signUpWithUserEmailAndPassword(this);
  153. }
  154. return orElse();
  155. }
  156. }
  157. abstract class SignUpWithUserEmailAndPassword implements SignUpEvent {
  158. const factory SignUpWithUserEmailAndPassword() =
  159. _$SignUpWithUserEmailAndPassword;
  160. }
  161. /// @nodoc
  162. abstract class $EmailChangedCopyWith<$Res> {
  163. factory $EmailChangedCopyWith(
  164. EmailChanged value, $Res Function(EmailChanged) then) =
  165. _$EmailChangedCopyWithImpl<$Res>;
  166. $Res call({String email});
  167. }
  168. /// @nodoc
  169. class _$EmailChangedCopyWithImpl<$Res> extends _$SignUpEventCopyWithImpl<$Res>
  170. implements $EmailChangedCopyWith<$Res> {
  171. _$EmailChangedCopyWithImpl(
  172. EmailChanged _value, $Res Function(EmailChanged) _then)
  173. : super(_value, (v) => _then(v as EmailChanged));
  174. @override
  175. EmailChanged get _value => super._value as EmailChanged;
  176. @override
  177. $Res call({
  178. Object? email = freezed,
  179. }) {
  180. return _then(EmailChanged(
  181. email == freezed
  182. ? _value.email
  183. : email // ignore: cast_nullable_to_non_nullable
  184. as String,
  185. ));
  186. }
  187. }
  188. /// @nodoc
  189. class _$EmailChanged implements EmailChanged {
  190. const _$EmailChanged(this.email);
  191. @override
  192. final String email;
  193. @override
  194. String toString() {
  195. return 'SignUpEvent.emailChanged(email: $email)';
  196. }
  197. @override
  198. bool operator ==(dynamic other) {
  199. return identical(this, other) ||
  200. (other is EmailChanged &&
  201. (identical(other.email, email) ||
  202. const DeepCollectionEquality().equals(other.email, email)));
  203. }
  204. @override
  205. int get hashCode =>
  206. runtimeType.hashCode ^ const DeepCollectionEquality().hash(email);
  207. @JsonKey(ignore: true)
  208. @override
  209. $EmailChangedCopyWith<EmailChanged> get copyWith =>
  210. _$EmailChangedCopyWithImpl<EmailChanged>(this, _$identity);
  211. @override
  212. @optionalTypeArgs
  213. TResult when<TResult extends Object?>({
  214. required TResult Function() signUpWithUserEmailAndPassword,
  215. required TResult Function(String email) emailChanged,
  216. required TResult Function(String password) passwordChanged,
  217. }) {
  218. return emailChanged(email);
  219. }
  220. @override
  221. @optionalTypeArgs
  222. TResult maybeWhen<TResult extends Object?>({
  223. TResult Function()? signUpWithUserEmailAndPassword,
  224. TResult Function(String email)? emailChanged,
  225. TResult Function(String password)? passwordChanged,
  226. required TResult orElse(),
  227. }) {
  228. if (emailChanged != null) {
  229. return emailChanged(email);
  230. }
  231. return orElse();
  232. }
  233. @override
  234. @optionalTypeArgs
  235. TResult map<TResult extends Object?>({
  236. required TResult Function(SignUpWithUserEmailAndPassword value)
  237. signUpWithUserEmailAndPassword,
  238. required TResult Function(EmailChanged value) emailChanged,
  239. required TResult Function(PasswordChanged value) passwordChanged,
  240. }) {
  241. return emailChanged(this);
  242. }
  243. @override
  244. @optionalTypeArgs
  245. TResult maybeMap<TResult extends Object?>({
  246. TResult Function(SignUpWithUserEmailAndPassword value)?
  247. signUpWithUserEmailAndPassword,
  248. TResult Function(EmailChanged value)? emailChanged,
  249. TResult Function(PasswordChanged value)? passwordChanged,
  250. required TResult orElse(),
  251. }) {
  252. if (emailChanged != null) {
  253. return emailChanged(this);
  254. }
  255. return orElse();
  256. }
  257. }
  258. abstract class EmailChanged implements SignUpEvent {
  259. const factory EmailChanged(String email) = _$EmailChanged;
  260. String get email => throw _privateConstructorUsedError;
  261. @JsonKey(ignore: true)
  262. $EmailChangedCopyWith<EmailChanged> get copyWith =>
  263. throw _privateConstructorUsedError;
  264. }
  265. /// @nodoc
  266. abstract class $PasswordChangedCopyWith<$Res> {
  267. factory $PasswordChangedCopyWith(
  268. PasswordChanged value, $Res Function(PasswordChanged) then) =
  269. _$PasswordChangedCopyWithImpl<$Res>;
  270. $Res call({String password});
  271. }
  272. /// @nodoc
  273. class _$PasswordChangedCopyWithImpl<$Res>
  274. extends _$SignUpEventCopyWithImpl<$Res>
  275. implements $PasswordChangedCopyWith<$Res> {
  276. _$PasswordChangedCopyWithImpl(
  277. PasswordChanged _value, $Res Function(PasswordChanged) _then)
  278. : super(_value, (v) => _then(v as PasswordChanged));
  279. @override
  280. PasswordChanged get _value => super._value as PasswordChanged;
  281. @override
  282. $Res call({
  283. Object? password = freezed,
  284. }) {
  285. return _then(PasswordChanged(
  286. password == freezed
  287. ? _value.password
  288. : password // ignore: cast_nullable_to_non_nullable
  289. as String,
  290. ));
  291. }
  292. }
  293. /// @nodoc
  294. class _$PasswordChanged implements PasswordChanged {
  295. const _$PasswordChanged(this.password);
  296. @override
  297. final String password;
  298. @override
  299. String toString() {
  300. return 'SignUpEvent.passwordChanged(password: $password)';
  301. }
  302. @override
  303. bool operator ==(dynamic other) {
  304. return identical(this, other) ||
  305. (other is PasswordChanged &&
  306. (identical(other.password, password) ||
  307. const DeepCollectionEquality()
  308. .equals(other.password, password)));
  309. }
  310. @override
  311. int get hashCode =>
  312. runtimeType.hashCode ^ const DeepCollectionEquality().hash(password);
  313. @JsonKey(ignore: true)
  314. @override
  315. $PasswordChangedCopyWith<PasswordChanged> get copyWith =>
  316. _$PasswordChangedCopyWithImpl<PasswordChanged>(this, _$identity);
  317. @override
  318. @optionalTypeArgs
  319. TResult when<TResult extends Object?>({
  320. required TResult Function() signUpWithUserEmailAndPassword,
  321. required TResult Function(String email) emailChanged,
  322. required TResult Function(String password) passwordChanged,
  323. }) {
  324. return passwordChanged(password);
  325. }
  326. @override
  327. @optionalTypeArgs
  328. TResult maybeWhen<TResult extends Object?>({
  329. TResult Function()? signUpWithUserEmailAndPassword,
  330. TResult Function(String email)? emailChanged,
  331. TResult Function(String password)? passwordChanged,
  332. required TResult orElse(),
  333. }) {
  334. if (passwordChanged != null) {
  335. return passwordChanged(password);
  336. }
  337. return orElse();
  338. }
  339. @override
  340. @optionalTypeArgs
  341. TResult map<TResult extends Object?>({
  342. required TResult Function(SignUpWithUserEmailAndPassword value)
  343. signUpWithUserEmailAndPassword,
  344. required TResult Function(EmailChanged value) emailChanged,
  345. required TResult Function(PasswordChanged value) passwordChanged,
  346. }) {
  347. return passwordChanged(this);
  348. }
  349. @override
  350. @optionalTypeArgs
  351. TResult maybeMap<TResult extends Object?>({
  352. TResult Function(SignUpWithUserEmailAndPassword value)?
  353. signUpWithUserEmailAndPassword,
  354. TResult Function(EmailChanged value)? emailChanged,
  355. TResult Function(PasswordChanged value)? passwordChanged,
  356. required TResult orElse(),
  357. }) {
  358. if (passwordChanged != null) {
  359. return passwordChanged(this);
  360. }
  361. return orElse();
  362. }
  363. }
  364. abstract class PasswordChanged implements SignUpEvent {
  365. const factory PasswordChanged(String password) = _$PasswordChanged;
  366. String get password => throw _privateConstructorUsedError;
  367. @JsonKey(ignore: true)
  368. $PasswordChangedCopyWith<PasswordChanged> get copyWith =>
  369. throw _privateConstructorUsedError;
  370. }
  371. /// @nodoc
  372. class _$SignUpStateTearOff {
  373. const _$SignUpStateTearOff();
  374. _SignUpState call(
  375. {String? email,
  376. String? password,
  377. required bool isSubmitting,
  378. required Option<String> passwordError,
  379. required Option<String> emailError,
  380. required Option<Either<UserProfile, UserError>> successOrFail}) {
  381. return _SignUpState(
  382. email: email,
  383. password: password,
  384. isSubmitting: isSubmitting,
  385. passwordError: passwordError,
  386. emailError: emailError,
  387. successOrFail: successOrFail,
  388. );
  389. }
  390. }
  391. /// @nodoc
  392. const $SignUpState = _$SignUpStateTearOff();
  393. /// @nodoc
  394. mixin _$SignUpState {
  395. String? get email => throw _privateConstructorUsedError;
  396. String? get password => throw _privateConstructorUsedError;
  397. bool get isSubmitting => throw _privateConstructorUsedError;
  398. Option<String> get passwordError => throw _privateConstructorUsedError;
  399. Option<String> get emailError => throw _privateConstructorUsedError;
  400. Option<Either<UserProfile, UserError>> get successOrFail =>
  401. throw _privateConstructorUsedError;
  402. @JsonKey(ignore: true)
  403. $SignUpStateCopyWith<SignUpState> get copyWith =>
  404. throw _privateConstructorUsedError;
  405. }
  406. /// @nodoc
  407. abstract class $SignUpStateCopyWith<$Res> {
  408. factory $SignUpStateCopyWith(
  409. SignUpState value, $Res Function(SignUpState) then) =
  410. _$SignUpStateCopyWithImpl<$Res>;
  411. $Res call(
  412. {String? email,
  413. String? password,
  414. bool isSubmitting,
  415. Option<String> passwordError,
  416. Option<String> emailError,
  417. Option<Either<UserProfile, UserError>> successOrFail});
  418. }
  419. /// @nodoc
  420. class _$SignUpStateCopyWithImpl<$Res> implements $SignUpStateCopyWith<$Res> {
  421. _$SignUpStateCopyWithImpl(this._value, this._then);
  422. final SignUpState _value;
  423. // ignore: unused_field
  424. final $Res Function(SignUpState) _then;
  425. @override
  426. $Res call({
  427. Object? email = freezed,
  428. Object? password = freezed,
  429. Object? isSubmitting = freezed,
  430. Object? passwordError = freezed,
  431. Object? emailError = freezed,
  432. Object? successOrFail = freezed,
  433. }) {
  434. return _then(_value.copyWith(
  435. email: email == freezed
  436. ? _value.email
  437. : email // ignore: cast_nullable_to_non_nullable
  438. as String?,
  439. password: password == freezed
  440. ? _value.password
  441. : password // ignore: cast_nullable_to_non_nullable
  442. as String?,
  443. isSubmitting: isSubmitting == freezed
  444. ? _value.isSubmitting
  445. : isSubmitting // ignore: cast_nullable_to_non_nullable
  446. as bool,
  447. passwordError: passwordError == freezed
  448. ? _value.passwordError
  449. : passwordError // ignore: cast_nullable_to_non_nullable
  450. as Option<String>,
  451. emailError: emailError == freezed
  452. ? _value.emailError
  453. : emailError // ignore: cast_nullable_to_non_nullable
  454. as Option<String>,
  455. successOrFail: successOrFail == freezed
  456. ? _value.successOrFail
  457. : successOrFail // ignore: cast_nullable_to_non_nullable
  458. as Option<Either<UserProfile, UserError>>,
  459. ));
  460. }
  461. }
  462. /// @nodoc
  463. abstract class _$SignUpStateCopyWith<$Res>
  464. implements $SignUpStateCopyWith<$Res> {
  465. factory _$SignUpStateCopyWith(
  466. _SignUpState value, $Res Function(_SignUpState) then) =
  467. __$SignUpStateCopyWithImpl<$Res>;
  468. @override
  469. $Res call(
  470. {String? email,
  471. String? password,
  472. bool isSubmitting,
  473. Option<String> passwordError,
  474. Option<String> emailError,
  475. Option<Either<UserProfile, UserError>> successOrFail});
  476. }
  477. /// @nodoc
  478. class __$SignUpStateCopyWithImpl<$Res> extends _$SignUpStateCopyWithImpl<$Res>
  479. implements _$SignUpStateCopyWith<$Res> {
  480. __$SignUpStateCopyWithImpl(
  481. _SignUpState _value, $Res Function(_SignUpState) _then)
  482. : super(_value, (v) => _then(v as _SignUpState));
  483. @override
  484. _SignUpState get _value => super._value as _SignUpState;
  485. @override
  486. $Res call({
  487. Object? email = freezed,
  488. Object? password = freezed,
  489. Object? isSubmitting = freezed,
  490. Object? passwordError = freezed,
  491. Object? emailError = freezed,
  492. Object? successOrFail = freezed,
  493. }) {
  494. return _then(_SignUpState(
  495. email: email == freezed
  496. ? _value.email
  497. : email // ignore: cast_nullable_to_non_nullable
  498. as String?,
  499. password: password == freezed
  500. ? _value.password
  501. : password // ignore: cast_nullable_to_non_nullable
  502. as String?,
  503. isSubmitting: isSubmitting == freezed
  504. ? _value.isSubmitting
  505. : isSubmitting // ignore: cast_nullable_to_non_nullable
  506. as bool,
  507. passwordError: passwordError == freezed
  508. ? _value.passwordError
  509. : passwordError // ignore: cast_nullable_to_non_nullable
  510. as Option<String>,
  511. emailError: emailError == freezed
  512. ? _value.emailError
  513. : emailError // ignore: cast_nullable_to_non_nullable
  514. as Option<String>,
  515. successOrFail: successOrFail == freezed
  516. ? _value.successOrFail
  517. : successOrFail // ignore: cast_nullable_to_non_nullable
  518. as Option<Either<UserProfile, UserError>>,
  519. ));
  520. }
  521. }
  522. /// @nodoc
  523. class _$_SignUpState implements _SignUpState {
  524. const _$_SignUpState(
  525. {this.email,
  526. this.password,
  527. required this.isSubmitting,
  528. required this.passwordError,
  529. required this.emailError,
  530. required this.successOrFail});
  531. @override
  532. final String? email;
  533. @override
  534. final String? password;
  535. @override
  536. final bool isSubmitting;
  537. @override
  538. final Option<String> passwordError;
  539. @override
  540. final Option<String> emailError;
  541. @override
  542. final Option<Either<UserProfile, UserError>> successOrFail;
  543. @override
  544. String toString() {
  545. return 'SignUpState(email: $email, password: $password, isSubmitting: $isSubmitting, passwordError: $passwordError, emailError: $emailError, successOrFail: $successOrFail)';
  546. }
  547. @override
  548. bool operator ==(dynamic other) {
  549. return identical(this, other) ||
  550. (other is _SignUpState &&
  551. (identical(other.email, email) ||
  552. const DeepCollectionEquality().equals(other.email, email)) &&
  553. (identical(other.password, password) ||
  554. const DeepCollectionEquality()
  555. .equals(other.password, password)) &&
  556. (identical(other.isSubmitting, isSubmitting) ||
  557. const DeepCollectionEquality()
  558. .equals(other.isSubmitting, isSubmitting)) &&
  559. (identical(other.passwordError, passwordError) ||
  560. const DeepCollectionEquality()
  561. .equals(other.passwordError, passwordError)) &&
  562. (identical(other.emailError, emailError) ||
  563. const DeepCollectionEquality()
  564. .equals(other.emailError, emailError)) &&
  565. (identical(other.successOrFail, successOrFail) ||
  566. const DeepCollectionEquality()
  567. .equals(other.successOrFail, successOrFail)));
  568. }
  569. @override
  570. int get hashCode =>
  571. runtimeType.hashCode ^
  572. const DeepCollectionEquality().hash(email) ^
  573. const DeepCollectionEquality().hash(password) ^
  574. const DeepCollectionEquality().hash(isSubmitting) ^
  575. const DeepCollectionEquality().hash(passwordError) ^
  576. const DeepCollectionEquality().hash(emailError) ^
  577. const DeepCollectionEquality().hash(successOrFail);
  578. @JsonKey(ignore: true)
  579. @override
  580. _$SignUpStateCopyWith<_SignUpState> get copyWith =>
  581. __$SignUpStateCopyWithImpl<_SignUpState>(this, _$identity);
  582. }
  583. abstract class _SignUpState implements SignUpState {
  584. const factory _SignUpState(
  585. {String? email,
  586. String? password,
  587. required bool isSubmitting,
  588. required Option<String> passwordError,
  589. required Option<String> emailError,
  590. required Option<Either<UserProfile, UserError>> successOrFail}) =
  591. _$_SignUpState;
  592. @override
  593. String? get email => throw _privateConstructorUsedError;
  594. @override
  595. String? get password => throw _privateConstructorUsedError;
  596. @override
  597. bool get isSubmitting => throw _privateConstructorUsedError;
  598. @override
  599. Option<String> get passwordError => throw _privateConstructorUsedError;
  600. @override
  601. Option<String> get emailError => throw _privateConstructorUsedError;
  602. @override
  603. Option<Either<UserProfile, UserError>> get successOrFail =>
  604. throw _privateConstructorUsedError;
  605. @override
  606. @JsonKey(ignore: true)
  607. _$SignUpStateCopyWith<_SignUpState> get copyWith =>
  608. throw _privateConstructorUsedError;
  609. }