The protocol's result object.
Map<String, Object?> toJson() => <String, Object?>{ 'content': <Object?>[for (final c in content) c.toJson()], 'structuredContent': ?structuredContent, if (isError) 'isError': true, };