RegexModel.noSpaces constructor
RegexModel.noSpaces({
- String? title,
Contains no whitespace.
Implementation
factory RegexModel.noSpaces({String? title}) => RegexModel(
title: title ?? RegexLabels.current.noSpaces,
test: (value) => !value.contains(RegExp(r'\s')),
);