fromJson static method

AgentState fromJson(
  1. Map<String, Object?> json
)

Implementation

static AgentState fromJson(Map<String, Object?> json) => AgentState(
  missionId: json['missionId'] as String,
  steps: (json['steps'] as List).cast<String>(),
);