toMap method
override
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> map = {};
if (_entropy != null) {
map['entropy'] = _entropy;
}
if (_dictionary != null) {
map['dictionary'] = _dictionary;
}
if (_word_count != null) {
map['word_count'] = _word_count;
}
return map;
}