toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (complete != null) {
    _json[r'Complete'] = complete;
  }
  if (suggestion != null) {
    _json[r'Suggestion'] = suggestion;
  }
  if (hint != null) {
    _json[r'Hint'] = hint;
  }
  if (description != null) {
    _json[r'Description'] = description;
  }
  if (iconData != null) {
    _json[r'IconData'] = iconData;
  }
  return _json;
}