Reimplementation of the LineTransformer-Class featured in the dart:io-package so it can be used in web-packages as well.