hasTimeline method

bool hasTimeline(
  1. int id
)

Implementation

bool hasTimeline(int id) {
  final List<Timeline> timelines = animation!.timelines;
  final int n = timelines.length;
  for (int i = 0; i < n; i++) {
    if (timelines[i].getPropertyId() == id) return true;
  }
  return false;
}