insert method

Future<void> insert(
  1. int index,
  2. AudioSource audioSource
)

Inserts a child audio source at the given index

Implementation

Future<void> insert(int index, AudioSource audioSource) async {
  children.insert(index, audioSource);
  // In a real implementation, we would notify the platform side
}