toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'searchStringsByPrefix',
    if (extra != null) '@extra': extra,
    'strings': strings,
    'query': query,
    'limit': limit,
    'return_none_for_empty_query': return_none_for_empty_query
  };
}