FFScreenshotNodeIdentifier constructor

FFScreenshotNodeIdentifier({
  1. String? nodeKey,
  2. Iterable<String>? componentKeyPath,
  3. Iterable<MapEntry<String, int>>? dynamicChildrenIndexMap,
})

Implementation

factory FFScreenshotNodeIdentifier({
  $core.String? nodeKey,
  $core.Iterable<$core.String>? componentKeyPath,
  $core.Iterable<$core.MapEntry<$core.String, $core.int>>?
      dynamicChildrenIndexMap,
}) {
  final result = create();
  if (nodeKey != null) result.nodeKey = nodeKey;
  if (componentKeyPath != null)
    result.componentKeyPath.addAll(componentKeyPath);
  if (dynamicChildrenIndexMap != null)
    result.dynamicChildrenIndexMap.addEntries(dynamicChildrenIndexMap);
  return result;
}