frameDurations property Null safety

List<num> frameDurations

Implementation

List<num> get frameDurations => _frameDurations;
void frameDurations=(List<num> value)

Implementation

set frameDurations(List<num> value) {
  for (var i = 0; i < _frameDurations.length; i++) {
    _frameDurations[i] = (i < value.length) ? value[i] : value.last;
  }
}