PresentedOfferingContext class

Contains all the details associated with a PresentedOfferingContext

Annotations
  • @freezed

Constructors

PresentedOfferingContext(String offeringIdentifier, String? placementIdentifier, PresentedOfferingTargetingContext? targetingContext)
const
factory
PresentedOfferingContext.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PresentedOfferingContextCopyWith<PresentedOfferingContext>
Create a copy of PresentedOfferingContext with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
offeringIdentifier String
The identifier of the offering used to obtain this object
no setterinherited
placementIdentifier String?
The identifier of the placement used to obtain this object
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetingContext PresentedOfferingTargetingContext?
The revision of the targeting used to obtain this object
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this PresentedOfferingContext to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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