Update transformer.dart

Remove niceDuration due the build error