toJson method
Implementation
Future<Map<String, dynamic>> toJson(
String? frontImage,
String? backImage,
String? sideImage,
String documentType,
String timeStamp,
) async {
return <String, dynamic>{
'frontImage_base64': frontImage,
'backImage_base64': backImage,
'sideImage_base64': sideImage,
'documentType': documentType
};
}