resolve method
Resolves this issue into user-facing text for the given context.
Implementation
@override
String resolve(BuildContext context) {
final localizations = DraftModeLocalizations.of(context);
final expectedLabel = DraftModeValidationGreaterThan._formatDateTime(
context,
expected,
);
return localizations?.validationAfter(expectedLabel) ??
'Must be after $expectedLabel';
}