validate method

  1. @override
bool validate()

Validates the form field. Returns true if there are no errors.

Implementation

@override
bool validate() => _key.currentState?.validate() ?? false;