getBlockInput method
Implementation
ProgrammingBlockInputModel? getBlockInput({
required String key,
}) {
final auxList = (blockModel?.inputs ?? [])
.where((element) => element.key == key)
.toList();
if (auxList.isEmpty) {
return null;
} else {
return auxList.first;
}
}