TextMatch.fromJson constructor
Implementation
factory TextMatch.fromJson(Map<String, Object?> json) => TextMatch(
path: json['path'] as String,
line: (json['line'] as num).toInt(),
column: (json['column'] as num).toInt(),
text: json['text'] as String,
before: (json['before'] as List?)?.cast<String>() ?? const [],
after: (json['after'] as List?)?.cast<String>() ?? const [],
);