toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'foundWebApp',
    if (extra != null) '@extra': extra,
    'web_app': web_app,
    'supports_settings': supports_settings,
    'request_write_access': request_write_access,
    'skip_confirmation': skip_confirmation
  };
}