LfA2aV1AgentCapabilities.fromJson constructor
LfA2aV1AgentCapabilities.fromJson(
- Map json_
Implementation
LfA2aV1AgentCapabilities.fromJson(core.Map json_)
: this(
extendedAgentCard: json_['extendedAgentCard'] as core.bool?,
extensions: (json_['extensions'] as core.List?)
?.map(
(value) => LfA2aV1AgentExtension.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
pushNotifications: json_['pushNotifications'] as core.bool?,
streaming: json_['streaming'] as core.bool?,
);