toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'inline_query_id': inlineQueryId,
  'is_personal': isPersonal,
  'button': button?.toJson(),
  'results': results.map((item) => item.toJson()).toList(),
  'cache_time': cacheTime,
  'next_offset': nextOffset,
  '@type': constructor,
};