toJson method

Map<String, dynamic> toJson()

Return json encodable object representing this Suggester

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      _JSONKEY_TERMMAPPING: termMapping.runtimeType.toString(),
      _JSONKEY_CASESENSITIVE: caseSensitive,
      _JSONKEY_ENTRIES: _entries.values.map((e) => e._toJson()).toList()
    };