Entry constructor

const Entry({
  1. String? id,
  2. String? name,
  3. @Default(false) bool required,
  4. @Default(EntryType.string) EntryType type,
  5. EntryType? subType,
  6. EntryType? subsubType,
  7. String? path,
  8. List<String>? options,
  9. List<int>? userRoles,
  10. bool? longText,
  11. bool? algoIsNull,
  12. bool? algoMapAddName,
})

Implementation

const factory Entry({
  String? id,
  String? name,
  ///currently only used for UI Form validation
  ///not guarantee entry !null, e.g. when not showing such field for some reason
  @Default(false)bool required,
  @Default(EntryType.string) EntryType type,
  EntryType? subType,
  EntryType? subsubType,
  String? path,
  List<String>? options,
  List<int>? userRoles,
  bool? longText,
  bool? algoIsNull,
  bool? algoMapAddName,
})=_Entry;