getFlic2Buttons method
get all the flic 2 buttons the manager is currently aware of (will remember between sessions)
Implementation
Future<List<Flic2Button>> getFlic2Buttons() async {
// get the buttons
final buttons = await _channel.invokeMethod<List?>(_methodNameGetButtons);
if (null == buttons) {
return [];
} else {
return buttons.map((e) => _createFlic2FromData(e)).toList();
}
}