GetFeedGeneratorOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const GetFeedGeneratorOutput({
  1. @GeneratorViewConverter() required GeneratorView view,
  2. required bool isOnline,
  3. required bool isValid,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetFeedGeneratorOutput({
  @GeneratorViewConverter() required GeneratorView view,

  /// Indicates whether the feed generator service has been online
  /// recently, or else seems to be inactive.
  required bool isOnline,

  /// Indicates whether the feed generator service is compatible with
  /// the record declaration.
  required bool isValid,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _GetFeedGeneratorOutput;