Field constructor

Field({
  1. required String type,
  2. required String name,
})

Implementation

Field({
  required this.type,
  required this.name,
});