AgentCapabilities.fromJson constructor

AgentCapabilities.fromJson(
  1. Map json_
)

Implementation

AgentCapabilities.fromJson(core.Map json_)
  : this(
      extensions: (json_['extensions'] as core.List?)
          ?.map(
            (value) => AgentExtension.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      pushNotifications: json_['pushNotifications'] as core.bool?,
      streaming: json_['streaming'] as core.bool?,
    );