toJson method

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

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    '\$hash': 'fff8fdc4',
    '\$name': 'InputBotInlineResultDocument',
    'flags': flags,
    'id': id,
    'type': type,
    'title': title,
    'description': description,
    'document': document,
    'sendMessage': sendMessage,
  };

  // Finished toJson.
  return returnValue;
}