toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'SubscriptionInitialized':
      return (this
              as CallEvents$Subscription$ChatCallEvents$SubscriptionInitialized)
          .toJson();
    case r'ChatCall':
      return (this as CallEvents$Subscription$ChatCallEvents$ChatCall)
          .toJson();
    case r'ChatCallEventsVersioned':
      return (this
              as CallEvents$Subscription$ChatCallEvents$ChatCallEventsVersioned)
          .toJson();
    default:
  }
  return _$CallEvents$Subscription$ChatCallEventsToJson(this);
}