Ability constructor

const Ability({
  1. required String id,
  2. required String title,
  3. @Default('') String description,
  4. required Map<String, Score> score,
})

Implementation

const factory Ability({
  required String id,
  required String title,
  @Default('') String description,
  required Map<String, Score> score,
}) = _Ability;