toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'SubscriptionInitialized':
      return (this
              as MyUserEvents$Subscription$MyUserEvents$SubscriptionInitialized)
          .toJson();
    case r'MyUser':
      return (this as MyUserEvents$Subscription$MyUserEvents$MyUser).toJson();
    case r'MyUserEventsVersioned':
      return (this
              as MyUserEvents$Subscription$MyUserEvents$MyUserEventsVersioned)
          .toJson();
    default:
  }
  return _$MyUserEvents$Subscription$MyUserEventsToJson(this);
}