toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (playlistId != null) 'playlistId': playlistId!,
      if (playlistItemId != null) 'playlistItemId': playlistItemId!,
      if (resourceId != null) 'resourceId': resourceId!,
    };