FFTabBarAction constructor

FFTabBarAction({
  1. FFTabBarAction_ActionType? type,
  2. @Deprecated('This field is deprecated.') String? legacyTabBarKey,
  3. FFValue? animateToIndex,
  4. FFNodeKeyReference? tabBarNodeKeyRef,
})

Implementation

factory FFTabBarAction({
  FFTabBarAction_ActionType? type,
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacyTabBarKey,
  FFValue? animateToIndex,
  FFNodeKeyReference? tabBarNodeKeyRef,
}) {
  final result = create();
  if (type != null) result.type = type;
  if (legacyTabBarKey != null) result.legacyTabBarKey = legacyTabBarKey;
  if (animateToIndex != null) result.animateToIndex = animateToIndex;
  if (tabBarNodeKeyRef != null) result.tabBarNodeKeyRef = tabBarNodeKeyRef;
  return result;
}