toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (authentication != null) {
json['authentication'] = authentication!.toJson();
}
if (userName != null) json['user_name'] = userName!.toJson();
if (geoLocation != null) json['geo_location'] = geoLocation!.toJson();
if (deviceInformation != null) {
json['device_information'] = deviceInformation!.toJson();
}
if (biometricCapabilities != null) {
json['biometric_capabilities'] = biometricCapabilities!.toJson();
}
if (appInformation != null) {
json['app_information'] = appInformation!.toJson();
}
if (userBehavior != null) json['user_behavior'] = userBehavior!.toJson();
if (accountRiskIndicators != null) {
json['account_risk_indicators'] = accountRiskIndicators!.toJson();
}
if (supplementaryData != null) {
json['supplementary_data'] = supplementaryData;
}
return json;
}