AgentTaskInfo.fromJson constructor

AgentTaskInfo.fromJson(
  1. Map json_
)

Implementation

AgentTaskInfo.fromJson(core.Map json_)
    : this(
        runnable: json_.containsKey('runnable')
            ? json_['runnable'] as core.String
            : null,
        taskId: json_.containsKey('taskId')
            ? json_['taskId'] as core.String
            : null,
        taskStatus: json_.containsKey('taskStatus')
            ? TaskStatus.fromJson(
                json_['taskStatus'] as core.Map<core.String, core.dynamic>)
            : null,
      );