toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (isFallback != null) 'isFallback': isFallback!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (parameters != null) 'parameters': parameters!,
      if (priority != null) 'priority': priority!,
      if (trainingPhrases != null) 'trainingPhrases': trainingPhrases!,
    };