deployPayload.fromJson constructor

deployPayload.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory deployPayload.fromJson(Map<String, dynamic> json) {
  return deployPayload(
    isDeployed: json['is_deployed'] != null ? json['is_deployed'] as bool : false,
    agentConfigs: json['agent_configs'] != null
        ? AgentConfigs.fromJson(json['agent_configs'])
        : null,
  );
}