MatchedSubstring.fromJson constructor

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

Implementation

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