FFTimerAction constructor

FFTimerAction({
  1. @Deprecated('This field is deprecated.') String? legacyTimerNodeKey,
  2. FFTimerAction_ActionType? type,
  3. FFValue? resetTimeMs,
  4. FFNodeKeyReference? timerNodeKeyRef,
})

Implementation

factory FFTimerAction({
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacyTimerNodeKey,
  FFTimerAction_ActionType? type,
  FFValue? resetTimeMs,
  FFNodeKeyReference? timerNodeKeyRef,
}) {
  final result = create();
  if (legacyTimerNodeKey != null)
    result.legacyTimerNodeKey = legacyTimerNodeKey;
  if (type != null) result.type = type;
  if (resetTimeMs != null) result.resetTimeMs = resetTimeMs;
  if (timerNodeKeyRef != null) result.timerNodeKeyRef = timerNodeKeyRef;
  return result;
}