QueryEventsOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const QueryEventsOutput({
  1. String? cursor,
  2. @ModEventViewConverter() required List<ModEventView> events,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory QueryEventsOutput({
  String? cursor,
  @ModEventViewConverter() required List<ModEventView> events,

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