ScriptStackFrame.fromJson constructor

ScriptStackFrame.fromJson(
  1. Map json_
)

Implementation

ScriptStackFrame.fromJson(core.Map json_)
    : this(
        endColumn: json_.containsKey('endColumn')
            ? json_['endColumn'] as core.int
            : null,
        endLine: json_.containsKey('endLine')
            ? json_['endLine'] as core.int
            : null,
        procedureId: json_.containsKey('procedureId')
            ? json_['procedureId'] as core.String
            : null,
        startColumn: json_.containsKey('startColumn')
            ? json_['startColumn'] as core.int
            : null,
        startLine: json_.containsKey('startLine')
            ? json_['startLine'] as core.int
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );