gpio abstract method
Get the high/low state of the given pin of a board.
// Whether the state of pin 15 is currently high
bool pinStateIsHigh = await myBoard.gpio('15');
For more information, see Board component.
Implementation
Future<bool> gpio(String pin, {Map<String, dynamic>? extra});