Position.fromProto constructor
Position.fromProto(
- Position position
Implementation
factory Position.fromProto(pb.Position position) {
return Position(
filename: position.hasFilename() ? Uri.parse(position.filename) : null,
offset: position.offset,
line: position.line,
column: position.column,
);
}