toJson method
Implementation
Map<String, dynamic> toJson() {
var json = <String, dynamic>{
'allowUserCreation': allowUserCreation,
'activateUser': activateUser,
'type': type.toShortString()
};
if (basic != null) {
json['basic'] = basic!.toJson();
}
if (custom != null) {
json['custom'] = custom!.toJson();
}
return json;
}