getFirstErrorRule method

FormRule? getFirstErrorRule()

Get the first error rule from the validation responses.

Implementation

FormRule? getFirstErrorRule() => firstError?.rule;