Package constructor

Package({
  1. required String id,
  2. required String name,
  3. required String fontFamily,
  4. required String? fontPackage,
  5. required int lastId,
  6. @JsonKey(toJson: _iconsToJsonList) required List<SvgIcon> icons,
})

Implementation

factory Package({
  required String id,
  required String name,
  required String fontFamily,
  required String? fontPackage,
  required int lastId,
  @JsonKey(toJson: _iconsToJsonList) required List<SvgIcon> icons,
}) = _Package;