StatusContext constructor

  1. @JsonSerializable(includeIfNull: false)
const StatusContext({
  1. required List<Status> ancestors,
  2. required List<Status> descendants,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory StatusContext({
  /// Parents in the thread.
  required List<Status> ancestors,

  /// Children in the thread.
  required List<Status> descendants,
}) = _StatusesContext;