SessionAfterCompletion.fromJson constructor
SessionAfterCompletion.fromJson(
- Object? json
Implementation
factory SessionAfterCompletion.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SessionAfterCompletion(
hostedConfirmation: map['hosted_confirmation'] == null
? null
: SessionHostedConfirmation.fromJson(map['hosted_confirmation']),
redirect: map['redirect'] == null
? null
: PortalFlowsAfterCompletionRedirect.fromJson(map['redirect']),
type: PortalFlowsFlowAfterCompletionType.fromJson(map['type']),
);
}