GeneratorViewerState constructor
- @JsonSerializable(includeIfNull: false)
const
GeneratorViewerState(
{ - @Default(appBskyFeedDefsGeneratorViewerState) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() AtUri? like,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory GeneratorViewerState({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.defs#generatorViewerState`
@Default(appBskyFeedDefsGeneratorViewerState)
@JsonKey(name: r'$type')
String $type,
@AtUriConverter() AtUri? like,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _GeneratorViewerState;