MainTextMatchedSubstring.fromJson constructor

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

Implementation

factory MainTextMatchedSubstring.fromJson(Map<String, dynamic> json) {
  return MainTextMatchedSubstring(
    length: json['length'] as int?,
    offset: json['offset'] as int?,
  );
}