ScriptStatistics.fromJson constructor

ScriptStatistics.fromJson(
  1. Map json_
)

Implementation

ScriptStatistics.fromJson(core.Map json_)
  : this(
      evaluationKind: json_['evaluationKind'] as core.String?,
      stackFrames: (json_['stackFrames'] as core.List?)
          ?.map(
            (value) => ScriptStackFrame.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );