add abstract method

FutureOr<void> add(
  1. Component component
)

Used to add component in the game.

Implementation

FutureOr<void> add(Component component);