RegexValidator.fromMap constructor
Creates a RegexValidator from a map representation.
Implementation
RegexValidator.fromMap(Map<String, dynamic> map)
: pattern = RegExp(
map['pattern'] as String,
caseSensitive: map['caseSensitive'] as bool? ?? true,
multiLine: map['multiLine'] as bool? ?? false,
),
customDescription = map['description'] as String?;