toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var inlineMarkerRef = this.inlineMarkerRef;
  var inlineOriginalSelection = this.inlineOriginalSelection;

  final json = <String, Object?>{};
  if (inlineMarkerRef != null) {
    json[r'inline-marker-ref'] = inlineMarkerRef;
  }
  if (inlineOriginalSelection != null) {
    json[r'inline-original-selection'] = inlineOriginalSelection;
  }
  return json;
}