toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
json[r'version'] = this.version;
json[r'kind'] = this.kind;
json[r'value'] = this.value;
if (this.description != null) {
json[r'description'] = this.description;
}
if (this.type != null) {
json[r'type'] = this.type;
}
if (this.gatewayModel != null) {
json[r'gatewayModel'] = this.gatewayModel;
}
return json;
}