toJson method
Implementation
Map toJson(){
Map _result = {};
if (bitmap != null) _result.addAll({"bitmap": bitmap});
if (liveness != null) _result.addAll({"liveness": liveness});
if (tag != null) _result.addAll({"tag": tag});
if (transactionId != null) _result.addAll({"transactionId": transactionId});
if (estimatedAge != null) _result.addAll({"estimatedAge": estimatedAge});
if (exception != null) _result.addAll({"exception": exception!.toJson()});
return _result;
}