IntentPayload.fromJson constructor
IntentPayload.fromJson(
- Map json_
Implementation
IntentPayload.fromJson(core.Map json_)
: this(
createIntent: json_.containsKey('createIntent')
? CreateSubscriptionIntent.fromJson(
json_['createIntent'] as core.Map<core.String, core.dynamic>,
)
: null,
entitleIntent: json_.containsKey('entitleIntent')
? EntitleSubscriptionIntent.fromJson(
json_['entitleIntent'] as core.Map<core.String, core.dynamic>,
)
: null,
intentOptions: json_.containsKey('intentOptions')
? IntentPayloadIntentOptions.fromJson(
json_['intentOptions'] as core.Map<core.String, core.dynamic>,
)
: null,
);