toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> result = <String, dynamic>{};
  if (cisType != null) result.putIfAbsent('cisType', () => cisType!.name());
  if (isReferenceDocument != null) result.putIfAbsent('isReferenceDocument', () => isReferenceDocument);
  if (folderUid?.isNotEmpty == true) result.putIfAbsent('folderUid', () => folderUid);
  if (biometricConsent != null) result.putIfAbsent('biometricConsent', () => biometricConsent);
  if (enableManualAnalysis != null) result.putIfAbsent('enableManualAnalysis', () => enableManualAnalysis);
  return result;
}