FieldRule constructor

FieldRule({
  1. required String type,
  2. bool required = false,
  3. Map<String, FieldRule>? nestedFields,
})

Implementation

FieldRule({
  required this.type,
  this.required = false,
  this.nestedFields,
});