SourceRange.fromJson constructor

SourceRange.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SourceRange.fromJson(Map<String, dynamic> json) {
  return SourceRange(
    startLine: json['startLine'] as int,
    startColumn: json['startColumn'] as int,
    endLine: json['endLine'] as int,
    endColumn: json['endColumn'] as int,
  );
}