AutoCompleteSuggestion.fromJson constructor

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

Implementation

factory AutoCompleteSuggestion.fromJson(Map<String, Object?> json) {
  return AutoCompleteSuggestion(
    displayName: json[r'displayName'] as String?,
    value: json[r'value'] as String?,
  );
}