Produced working version.  Code needs refactoring, and the solution is naive.  Thanks to deibelman/dart-mic for the library