toJson method

Map<String, dynamic> toJson()

Creates a SentWebAppMessage object from JSON object

Implementation

Map<String, dynamic> toJson() {
  return {
    'inline_message_id': inlineMessageId,
  }..removeWhere(_nullFilter);
}