GoogleCloudDialogflowV2IntentMessageMediaContent.fromJson constructor
GoogleCloudDialogflowV2IntentMessageMediaContent.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2IntentMessageMediaContent.fromJson(core.Map json_)
: this(
mediaObjects: json_.containsKey('mediaObjects')
? (json_['mediaObjects'] as core.List)
.map((value) =>
GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
mediaType: json_.containsKey('mediaType')
? json_['mediaType'] as core.String
: null,
);