error property

String? get error

The error message if validation failed, or null if valid.

Implementation

String? get error;