Challenge constructor

Challenge({
  1. Proposition? revealed,
  2. Challenge_PreviousProposition? previous,
})

Implementation

factory Challenge({
  $4.Proposition? revealed,
  Challenge_PreviousProposition? previous,
}) {
  final _result = create();
  if (revealed != null) {
    _result.revealed = revealed;
  }
  if (previous != null) {
    _result.previous = previous;
  }
  return _result;
}