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,
      );