Field constructor

const Field({
  1. String? name,
  2. required int type,
  3. String? typeName,
  4. List<String> docs = const [],
})

Implementation

const Field({this.name, required this.type, this.typeName, this.docs = const []});