toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "web_app": webApp.toJson(),
    "request_write_access": requestWriteAccess,
    "skip_confirmation": skipConfirmation,
  };
}