Field constructor

const Field({
  1. required String type,
  2. bool primary = false,
  3. String mark = '',
})

Implementation

const Field({required this.type, this.primary = false, this.mark = ''});