Generatable class abstract

Protocol for types that can be generated as structured output from LLMs Matches iOS Generatable from Features/LLM/StructuredOutput/Generatable.swift

Constructors

Generatable.fromJson(Map<String, dynamic> json)
Convert from JSON map
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

jsonSchema String
The JSON schema for this type
no setter