StackFrames.fromJson constructor

StackFrames.fromJson(
  1. Map json_
)

Implementation

StackFrames.fromJson(core.Map json_)
    : this(
        droppedFramesCount: json_.containsKey('droppedFramesCount')
            ? json_['droppedFramesCount'] as core.int
            : null,
        frame: json_.containsKey('frame')
            ? (json_['frame'] as core.List)
                .map((value) => StackFrame.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );