error property

String? error
final

Passed through the constructor to provide a custom error message. If not provided, the rule may use a localized error message.

Implementation

final String? error;