StatusSource constructor

const StatusSource({
  1. required String id,
  2. required String text,
  3. required String spoilerText,
})

Implementation

const factory StatusSource({
  /// ID of the status in the database.
  required String id,

  /// The plain text used to compose the status.
  required String text,

  /// The plain text used to compose the status’s subject or content warning.
  required String spoilerText,
}) = _StatusSource;