FormModel constructor

FormModel({
  1. required String name,
  2. String submitButton = '',
  3. String resetButton = '',
  4. required List<FieldModel> fields,
})

Implementation

FormModel({
  required this.name,
  this.submitButton = '',
  this.resetButton = '',
  required this.fields,
});