toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (confidence != null) 'confidence': confidence!,
      if (event != null) 'event': event!,
      if (intent != null) 'intent': intent!,
      if (matchType != null) 'matchType': matchType!,
      if (parameters != null) 'parameters': parameters!,
      if (resolvedInput != null) 'resolvedInput': resolvedInput!,
    };