toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commentCount != null) 'commentCount': commentCount!,
      if (hiddenSubscriberCount != null)
        'hiddenSubscriberCount': hiddenSubscriberCount!,
      if (subscriberCount != null) 'subscriberCount': subscriberCount!,
      if (videoCount != null) 'videoCount': videoCount!,
      if (viewCount != null) 'viewCount': viewCount!,
    };