toJson method

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

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
  '@type': CONSTRUCTOR,
  'open_external_browser': openExternalBrowser,
  'external_exceptions': [for (final e in externalExceptions) e.toJson()],
  'in_app_exceptions': [for (final e in inAppExceptions) e.toJson()],
  'display_close_button': displayCloseButton,
};