Last active
October 20, 2024 01:05
-
-
Save gyugyu90/d5ccc74050357537592010524188197d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
Headphone bluetoothHeadphone = BluetoothHeadphone(); | |
// bluetoothHeadphone.togglePlay(); // Error: The method 'togglePlay' isn't defined for the class 'Headphone'. | |
bluetoothHeadphone.increaseVolume(); | |
print(bluetoothHeadphone.volume); // 5.5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment