zam_rules 0.2.0 zam_rules: ^0.2.0 copied to clipboard
A utility library that contains a set of most commonly used rules.
import 'package:zam_rules/zam_rules.dart';
void main() {
final text = 'Sony Xperia';
final pattern = 'Sony';
final rule = TextStartsWithRule(text, pattern, value: text);
final ruleResponse = rule.execute();
print(ruleResponse.isSuccess); // true
}