CampaignConfigFactory class

Factory (registry) mapping a campaignType to the builder that decodes its config. Supporting a new renderable type is an open/closed change: add one entry here — CampaignModel.fromJson is untouched, and unknown types keep falling through to UnsupportedCampaignConfig.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

builderFor(String campaignType) CampaignConfigBuilder?
The builder for campaignType, or null when the type is unknown.