Partner class

Constructors

Partner({required String uuid, required String name, required String description, required String disclaimer, required bool supportsPreSelect, required bool shouldDisplayPreSelect, required bool supportsPersonalizedOffers, required String imageUrl, String? subtextOverride, String? headquarters, String? assets, String? brandName, String? brandUuid})
Returns a new Partner instance.

Properties

assets ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
brandName ↔ String?
The external-facing name that will appear on offer cards, marketing materials, and other end user touchpoints
getter/setter pair
brandUuid ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
description ↔ String
getter/setter pair
disclaimer ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
headquarters ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
imageUrl ↔ String
getter/setter pair
name ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldDisplayPreSelect ↔ bool
getter/setter pair
subtextOverride ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
supportsPersonalizedOffers ↔ bool
Whether the partner supports returning pre-qualified or pre-approved offers
getter/setter pair
supportsPreSelect ↔ bool
getter/setter pair
uuid ↔ String
getter/setter pair

Methods

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → Partner?
Returns a new Partner instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Partner>
mapFromJson(dynamic json) → Map<String, Partner>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Partner>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.