The higher level data model for copperframe
The data model used by copperframe components
Highlights:
- Create friendly user message
- Create a skeleton for rules with friendly messages
A few examples:
Create a message:
final message = CopperframeMessage( label: 'This is an info
message', level: CopperframeMessageLevel.info, category: 'usage', );
Create a rule:
final rule = CopperframeFieldRule( name: 'Length Check', options:
{'min': '1', 'max': '255'}, successMessages: [ failureMessages: [
message ], );