Data class

Constructors

Data({String? type, String? header, String? ctaText, String? cta, String? bgColor, bool? gradient, String? headerTy, String? footerTy, String? headerTextColor, String? ctaTextColor, String? ctaColor, GradientColors? gradientObj})
Data.fromJson(Map<String, dynamic> json)

Properties

bgColor ↔ String?
getter/setter pair
cta ↔ String?
getter/setter pair
ctaColor ↔ String?
getter/setter pair
ctaText ↔ String?
getter/setter pair
ctaTextColor ↔ String?
getter/setter pair
footerTy ↔ String?
getter/setter pair
gradient ↔ bool?
getter/setter pair
gradientObj ↔ GradientColors?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
getter/setter pair
headerTextColor ↔ String?
getter/setter pair
headerTy ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
getter/setter pair

Methods

copyWith({String? type, String? header, String? ctaText, String? cta, String? bgColor, bool? gradient, String? headerTy, String? footerTy, String? headerTextColor, String? ctaTextColor, String? ctaColor, GradientColors? gradientObj}) → Data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited