QueryPlan.fromJson constructor
QueryPlan.fromJson(
- Map json_
Implementation
QueryPlan.fromJson(core.Map json_)
: this(
planNodes: json_.containsKey('planNodes')
? (json_['planNodes'] as core.List)
.map((value) => PlanNode.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
queryAdvice: json_.containsKey('queryAdvice')
? QueryAdvisorResult.fromJson(
json_['queryAdvice'] as core.Map<core.String, core.dynamic>)
: null,
);