FFNodeKeyPath constructor

FFNodeKeyPath({
  1. @Deprecated('This field is deprecated.') Iterable<String>? legacyKeyPath,
  2. Iterable<FFNodeKeyReference>? keyPath,
})

Implementation

factory FFNodeKeyPath({
  @$core.Deprecated('This field is deprecated.')
  $core.Iterable<$core.String>? legacyKeyPath,
  $core.Iterable<FFNodeKeyReference>? keyPath,
}) {
  final result = create();
  if (legacyKeyPath != null) result.legacyKeyPath.addAll(legacyKeyPath);
  if (keyPath != null) result.keyPath.addAll(keyPath);
  return result;
}