PortalFlowsAfterCompletionHostedConfirmation.fromJson constructor

PortalFlowsAfterCompletionHostedConfirmation.fromJson(
  1. Object? json
)

Implementation

factory PortalFlowsAfterCompletionHostedConfirmation.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PortalFlowsAfterCompletionHostedConfirmation(
      customMessage: map['custom_message'] == null
          ? null
          : (map['custom_message'] as String));
}