SubmitState.error constructor

const SubmitState.error(
  1. String error
)

Implementation

const factory SubmitState.error(String error) = _Error;