SessionHostedConfirmation.fromJson constructor

SessionHostedConfirmation.fromJson(
  1. Object? json
)

Implementation

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