toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternateText != null) 'alternateText': alternateText!,
      if (kind != null) 'kind': kind!,
      if (renderEncoding != null) 'renderEncoding': renderEncoding!,
      if (showCodeText != null) 'showCodeText': showCodeText!,
      if (type != null) 'type': type!,
      if (value != null) 'value': value!,
    };