toJson method
Implementation
Map<String, Object?> toJson() {
var cascadingOptionId = this.cascadingOptionId;
var contextId = this.contextId;
var optionId = this.optionId;
var type = this.type;
final json = <String, Object?>{};
if (cascadingOptionId != null) {
json[r'cascadingOptionId'] = cascadingOptionId;
}
json[r'contextId'] = contextId;
json[r'optionId'] = optionId;
json[r'type'] = type;
return json;
}