BannerResponse class
- Annotations
Constructors
- 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})
-
factory
-
BannerResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
no setterinherited
-
copyWith
→ $BannerResponseCopyWith<
BannerResponse> -
Create a copy of BannerResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- deepLink → String?
-
no setterinherited
- description → String?
-
no setterinherited
- ended → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
no setterinherited
- imageLink → String?
-
no setterinherited
- isActive → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- started → String?
-
no setterinherited
- timing → int?
-
no setterinherited
- weight → int?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this BannerResponse to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited