


# submit method




    *[<Null safety>](https://dart.dev/null-safety)*



- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html)

[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)&lt;void> submit
()








## Implementation

```dart
@override
FutureOr<void> submit() async {
  final WyattForm form = formRepository.accessForm(formName);
  const error = '`submit()` is not implemented for BaseSignUpCubit, '
      'please use `signUpWithEmailAndPassword()`.';
  emit(
    SignUpState(
      form: form,
      errorMessage: error,
      status: FormStatus.submissionFailure,
    ),
  );
  throw UnimplementedError(error);
}
```







