GetMessagesOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const GetMessagesOutput({
  1. String? cursor,
  2. @UGetMessagesMessageConverter() required List<UGetMessagesMessage> messages,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetMessagesOutput({
  String? cursor,
  @UGetMessagesMessageConverter() required List<UGetMessagesMessage> messages,

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