fromJson static method
Implementation
static GuideAction fromJson(Map<String, dynamic> json) => GuideAction(
type: _actionTypeFrom(optString(json, 'type', 'dismiss')),
label: optString(json, 'label'),
style: _styleFrom(optString(json, 'style', 'primary')),
scope: _optStringOrNull(json, 'scope'),
url: _optStringOrNull(json, 'url'),
fallbackUrl: _optStringOrNull(json, 'fallback_url'),
presentation: _optStringOrNull(json, 'presentation'),
eventName: _optStringOrNull(json, 'event_name'),
properties: optMap(json, 'properties'),
);