BuiltinIntentMetadata.fromJson constructor
Implementation
factory BuiltinIntentMetadata.fromJson(Map<String, dynamic> json) {
return BuiltinIntentMetadata(
signature: json['signature'] as String?,
supportedLocales: (json['supportedLocales'] as List?)
?.whereNotNull()
.map((e) => (e as String).toLocale())
.toList(),
);
}