toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (componentName != null) 'componentName': componentName!,
  if (componentType != null) 'componentType': componentType!,
  if (confirmationLevel != null) 'confirmationLevel': confirmationLevel!,
  if (inferred != null) 'inferred': inferred!,
  if (replaced != null) 'replaced': replaced!,
  if (spellCorrected != null) 'spellCorrected': spellCorrected!,
  if (unexpected != null) 'unexpected': unexpected!,
};