TransitionRoute constructor

TransitionRoute({
  1. String? intent,
  2. String? condition,
  3. Fulfillment? triggerFulfillment,
  4. String? targetPage,
  5. String? targetFlow,
  6. String? name,
})

Implementation

factory TransitionRoute({
  $core.String? intent,
  $core.String? condition,
  $18.Fulfillment? triggerFulfillment,
  $core.String? targetPage,
  $core.String? targetFlow,
  $core.String? name,
}) {
  final _result = create();
  if (intent != null) {
    _result.intent = intent;
  }
  if (condition != null) {
    _result.condition = condition;
  }
  if (triggerFulfillment != null) {
    _result.triggerFulfillment = triggerFulfillment;
  }
  if (targetPage != null) {
    _result.targetPage = targetPage;
  }
  if (targetFlow != null) {
    _result.targetFlow = targetFlow;
  }
  if (name != null) {
    _result.name = name;
  }
  return _result;
}