clone method

  1. @override
KeyFrameDirective clone()
override

Implementation

@override
KeyFrameDirective clone() {
  var directive = KeyFrameDirective(_keyframeName, name!.clone(), span);
  for (var block in _blocks) {
    directive.add(block.clone());
  }
  return directive;
}