toJson method
Implementation
Map<String, dynamic> toJson() {
final kdcAdminPassword = this.kdcAdminPassword;
final realm = this.realm;
final aDDomainJoinPassword = this.aDDomainJoinPassword;
final aDDomainJoinUser = this.aDDomainJoinUser;
final crossRealmTrustPrincipalPassword =
this.crossRealmTrustPrincipalPassword;
return {
'KdcAdminPassword': kdcAdminPassword,
'Realm': realm,
if (aDDomainJoinPassword != null)
'ADDomainJoinPassword': aDDomainJoinPassword,
if (aDDomainJoinUser != null) 'ADDomainJoinUser': aDDomainJoinUser,
if (crossRealmTrustPrincipalPassword != null)
'CrossRealmTrustPrincipalPassword': crossRealmTrustPrincipalPassword,
};
}