PredictedIntent.fromJson constructor
Implementation
factory PredictedIntent.fromJson(Map<String, dynamic> json) {
return PredictedIntent(
intentName: json['intentName'] as String?,
nluIntentConfidence: json['nluIntentConfidence'] != null
? IntentConfidence.fromJson(
json['nluIntentConfidence'] as Map<String, dynamic>)
: null,
slots: (json['slots'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}