SearchMatch.fromJson constructor

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

Implementation

factory SearchMatch.fromJson(Map<String, dynamic> json) {
  return SearchMatch(
    lineNumber: json['lineNumber'] as num,
    lineContent: json['lineContent'] as String,
  );
}