SourceLocation.fromJson constructor

SourceLocation.fromJson(
  1. Map json_
)

Implementation

SourceLocation.fromJson(core.Map json_)
    : this(
        filePath: json_.containsKey('filePath')
            ? json_['filePath'] as core.String
            : null,
        functionName: json_.containsKey('functionName')
            ? json_['functionName'] as core.String
            : null,
        lineNumber: json_.containsKey('lineNumber')
            ? json_['lineNumber'] as core.int
            : null,
      );