toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (favorites != null) 'favorites': favorites!,
      if (likes != null) 'likes': likes!,
      if (uploads != null) 'uploads': uploads!,
      if (watchHistory != null) 'watchHistory': watchHistory!,
      if (watchLater != null) 'watchLater': watchLater!,
    };