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