NudgeParser class

Decodes a nudge templateConfig into the pure NudgeConfig model.

Constructors

NudgeParser({DesignTokenCatalog designTokens = DesignTokenCatalog.empty})
const

Properties

designTokens → DesignTokenCatalog
final
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
parse(Map<String, dynamic> templateConfig) → NudgeConfig?
Returns null when canvas content is missing.
toString() → String
A string representation of this object.
inherited

Operators

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