BrandResponse constructor

const BrandResponse({
  1. required int id,
  2. required String name,
  3. String? description,
  4. String? link,
  5. String? videoLink,
  6. String? image,
  7. @JsonKey(name: 'seo_title') String? seoTitle,
  8. @JsonKey(name: 'seo_description') String? seoDescription,
  9. bool? hidden,
})

Implementation

const factory BrandResponse({
  required int id,
  required String name,
  String? description,
  String? link,
  String? videoLink,
  String? image,
  @JsonKey(name: 'seo_title') String? seoTitle,
  @JsonKey(name: 'seo_description') String? seoDescription,
  bool? hidden,
}) = _BrandResponse;