Position.fromJson constructor

Position.fromJson(
  1. Map json_
)

Implementation

Position.fromJson(core.Map json_)
    : this(
        column:
            json_.containsKey('column') ? json_['column'] as core.int : null,
        length:
            json_.containsKey('length') ? json_['length'] as core.int : null,
        line: json_.containsKey('line') ? json_['line'] as core.int : null,
        offset:
            json_.containsKey('offset') ? json_['offset'] as core.int : null,
      );