


# 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 BaseSignInCubit, '
      'please use `signUpWithEmailAndPassword()`.';
  emit(
    SignInState(
      form: form,
      errorMessage: error,
      status: FormStatus.submissionFailure,
    ),
  );
}
```







