zam_rules 0.1.0 zam_rules: ^0.1.0 copied to clipboard
A utility library that contains a set of most commonly used rules.
Rules Library #
A utility library that contains a set of most commonly used rules.
What's inside the package #
- Decimal Rules
- Number Rules
- Text Rules
Check out all the components in detail here
How to use #
final text = 'Sony Xperia';
final pattern = 'Sony';
final rule = TextStartsWithRule(text, pattern, value: text);
final ruleResponse = rule.execute();
print(ruleResponse.isSuccess); // true
To learn more, move on to the example section or check out this dedicated example in github.