check method

  1. @override
List<String> check()
override

Reads every property this type defines and returns what could not be read (missing required properties, wrong types), nested types included. Empty = the JSON matches the schema's shape for this type.

Implementation

@override
List<String> check() => [
      ...McpObject.$check(() => taskId),
      ...McpObject.$check(() => status),
      ...McpObject.$check(() => statusMessage),
      ...McpObject.$check(() => createdAt),
      ...McpObject.$check(() => lastUpdatedAt),
      ...McpObject.$check(() => ttlMs),
      ...McpObject.$check(() => pollIntervalMs),
      ...McpObject.$check(() => inputRequests),
      ...McpObject.$check(() => result),
      ...McpObject.$check(() => error),
    ];