IndexAdvice.fromJson constructor

IndexAdvice.fromJson(
  1. Map json_
)

Implementation

IndexAdvice.fromJson(core.Map json_)
    : this(
        ddl: json_.containsKey('ddl')
            ? (json_['ddl'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        improvementFactor: json_.containsKey('improvementFactor')
            ? (json_['improvementFactor'] as core.num).toDouble()
            : null,
      );