Protocol constructor

Protocol({
  1. required Map<String, FieldType> fieldTypes,
  2. required String icon,
  3. required List<ProtocolInstance> instances,
  4. required List<String> locationFields,
  5. required List<String> userFields,
})

Implementation

Protocol({
  required this.fieldTypes,
  required this.icon,
  required this.instances,
  required this.locationFields,
  required this.userFields,
});