VerificationSessionOptions.fromJson constructor

VerificationSessionOptions.fromJson(
  1. Object? json
)

Implementation

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