StackTrace.fromJson constructor

StackTrace.fromJson(
  1. Map json_
)

Implementation

StackTrace.fromJson(core.Map json_)
    : this(
        elements: json_.containsKey('elements')
            ? (json_['elements'] as core.List)
                .map((value) => StackTraceElement.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );