decorations method

  1. @override
Iterable<GameDecoration> decorations()
override

Used to get all "Decoration".

Implementation

@override
Iterable<GameDecoration> decorations() {
  return children.where((element) => (element is GameDecoration)).cast();
}