DocumentHighlight.fromJson constructor

DocumentHighlight.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory DocumentHighlight.fromJson(Map<String, Object?> json) =>
    DocumentHighlight(
      Range.fromJson(json['range'] as Map<String, Object?>),
      kind: (json['kind'] as num?)?.toInt(),
    );