error property

String? error
final

Error message (if validation failed)

Implementation

final String? error;