toMap method
Implementation
Map<String, dynamic> toMap() {
final map = <String, dynamic>{
'autoCapture': autoCapture,
'showInstruction': showInstruction,
'previewSkip': previewSkip,
'hasGeotagging': hasGeotagging,
'enableLiveness': enableLiveness,
};
if (logoUrl != null) map['logoUrl'] = logoUrl;
return map;
}