error property

String? error
final

Marks the field invalid and replaces the hint.

Implementation

final String? error;