EntityTemplate constructor

const EntityTemplate({
  1. required String id,
  2. @Default(null) String? rev,
  3. @Default(null) int? deletionDate,
  4. @Default(null) String? userId,
  5. @Default(null) String? descr,
  6. @Default(null) Set<String>? keywords,
  7. @Default(null) String? entityType,
  8. @Default(null) String? subType,
  9. @Default(null) bool? defaultTemplate,
  10. @Default([]) List<Map<String, dynamic>> entity,
})

Implementation

const factory EntityTemplate({
	required String id,
	@Default(null) String? rev,
	@Default(null) int? deletionDate,
	@Default(null) String? userId,
	@Default(null) String? descr,
	@Default(null) Set<String>? keywords,
	@Default(null) String? entityType,
	@Default(null) String? subType,
	@Default(null) bool? defaultTemplate,
	@Default([]) List<Map<String, dynamic>> entity,
}) = _EntityTemplate;