toJson method
Implementation
Map<String, Object?> toJson() {
var applicationKeys = this.applicationKeys;
var displayName = this.displayName;
var emailAddress = this.emailAddress;
var key = this.key;
var name = this.name;
var password = this.password;
var products = this.products;
var self = this.self;
final json = <String, Object?>{};
json[r'applicationKeys'] = applicationKeys;
if (displayName != null) {
json[r'displayName'] = displayName;
}
json[r'emailAddress'] = emailAddress;
if (key != null) {
json[r'key'] = key;
}
if (name != null) {
json[r'name'] = name;
}
if (password != null) {
json[r'password'] = password;
}
json[r'products'] = products;
if (self != null) {
json[r'self'] = self;
}
return json;
}