BannerResponse constructor
BannerResponse({ - required int id,
- @Default(false) @JsonKey(name: 'is_active') bool isActive,
- int? weight,
- String? started,
- String? ended,
- @JsonKey(name: 'deep_link') String? deepLink,
- @JsonKey(name: 'image_link') String? imageLink,
- String? description,
- @JsonKey(name: 'banner_type') String? bannerType,
- int? timing,
})
Implementation
factory BannerResponse({
required int id,
@Default(false) @JsonKey(name: 'is_active') bool isActive,
int? weight,
String? started,
String? ended,
@JsonKey(name: 'deep_link') String? deepLink,
@JsonKey(name: 'image_link') String? imageLink,
String? description,
@JsonKey(name: 'banner_type') String? bannerType,
int? timing,
}) = _BannerResponse;