toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var contextId = this.contextId;
  var optionIds = this.optionIds;
  var type = this.type;

  final json = <String, Object?>{};
  json[r'contextId'] = contextId;
  json[r'optionIds'] = optionIds;
  json[r'type'] = type;
  return json;
}