toJson method

Future<Map<String, dynamic>> toJson(
  1. String? faceImage,
  2. String verificationSessionId,
  3. String timeStamp
)

Implementation

Future<Map<String, dynamic>> toJson(
  String? faceImage,
  String verificationSessionId,
  String timeStamp,
) async {
  return <String, dynamic>{
    'faceImage_base64': faceImage,
    'documentIdentificationId': verificationSessionId
  };
}