toJson method

Map<String, dynamic> toJson()

Converts a ResponseParameters object to JSON object

Implementation

Map<String, dynamic> toJson() {
  return {
    'migrate_to_chat_id': migrateToChatId,
    'retry_after': retryAfter,
  }..removeWhere(_nullFilter);
}