EditFeed constructor
- @JsonSerializable.new(includeIfNull: false)
const
EditFeed(
{ - @JsonKey.new(name: 'feed_id') required int feedId,
- String? url,
- String? title,
- String? description,
- @JsonKey.new(name: 'icon_url') String? iconUrl,
- @JsonKey.new(name: 'banner_url') String? bannerUrl,
- bool? nsfw,
- bool? nsfl,
- bool? public,
- String? communities,
- @JsonKey.new(name: 'is_instance_feed') bool? isInstanceFeed,
- @JsonKey.new(name: 'show_child_posts') bool? showChildPosts,
- @JsonKey.new(name: 'parent_feed_id') int? parentFeedId,
- required String auth,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory EditFeed({
@JsonKey(name: 'feed_id') required int feedId,
String? url,
String? title,
String? description,
@JsonKey(name: 'icon_url') String? iconUrl,
@JsonKey(name: 'banner_url') String? bannerUrl,
bool? nsfw,
bool? nsfl,
bool? public,
String? communities,
@JsonKey(name: 'is_instance_feed') bool? isInstanceFeed,
@JsonKey(name: 'show_child_posts') bool? showChildPosts,
@JsonKey(name: 'parent_feed_id') int? parentFeedId,
required String auth,
}) = _EditFeed;