AIOCard constructor

const AIOCard({
  1. @JsonKey(name: 'title', required: true) required String title,
  2. @JsonKey(name: 'description', required: true) required String description,
  3. @JsonKey(name: 'category', required: true) required String category,
})

Implementation

const factory AIOCard({
  /// The title of the card
  @JsonKey(name: 'title', required: true) required String title,

  /// The description of the card
  @JsonKey(name: 'description', required: true) required String description,

  /// The category of the card
  @JsonKey(name: 'category', required: true) required String category,
}) = _AIOCard;