toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (agentVersion != null) 'agentVersion': agentVersion!,
  if (description != null) 'description': description!,
  if (fulfillment != null) 'fulfillment': fulfillment!,
  if (name != null) 'name': name!,
  if (state != null) 'state': state!,
  if (textToSpeechSettings != null)
    'textToSpeechSettings': textToSpeechSettings!,
  if (updateTime != null) 'updateTime': updateTime!,
};