FFWhenTestStep constructor

FFWhenTestStep({
  1. FFInteractionTestStep? interaction,
  2. FFPumpAndSettleTestStep? pumpAndSettle,
  3. FFCustomWhenTestStep? custom,
})

Implementation

factory FFWhenTestStep({
  FFInteractionTestStep? interaction,
  FFPumpAndSettleTestStep? pumpAndSettle,
  FFCustomWhenTestStep? custom,
}) {
  final result = create();
  if (interaction != null) result.interaction = interaction;
  if (pumpAndSettle != null) result.pumpAndSettle = pumpAndSettle;
  if (custom != null) result.custom = custom;
  return result;
}