danrubel / rpi_gpio.dart

Dart library for accessing the Raspberry Pi GPIO pins
Other
47 stars 5 forks source link

Use configured imports when available #3

Open danrubel opened 8 years ago

danrubel commented 8 years ago

Update examples to use configured imports when they are available.

import raspberrypi == 'true' : 'package:rpi_gpio/rpi_hardware.dart'
       || 'mock_hardware.dart';

See configured imports tracking issue in the Dart DEP proposal list.