toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'SubscriptionInitialized':
      return (this
              as IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$SubscriptionInitialized)
          .toJson();
    case r'IncomingChatCallsTop':
      return (this
              as IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$IncomingChatCallsTop)
          .toJson();
    case r'EventIncomingChatCallsTopChatCallAdded':
      return (this
              as IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$EventIncomingChatCallsTopChatCallAdded)
          .toJson();
    case r'EventIncomingChatCallsTopChatCallRemoved':
      return (this
              as IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$EventIncomingChatCallsTopChatCallRemoved)
          .toJson();
    default:
  }
  return _$IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEventsToJson(
      this);
}