Listing constructor

  1. @JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
const Listing({
  1. required String id,
  2. required String name,
  3. required String homepage,
  4. required String imageId,
  5. required App app,
  6. List<Injected>? injected,
  7. required Redirect mobile,
  8. required Redirect desktop,
})

Implementation

@JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
const factory Listing({
  required String id,
  required String name,
  required String homepage,
  required String imageId,
  required App app,
  List<Injected>? injected,
  required Redirect mobile,
  required Redirect desktop,
}) = _Listing;