Fix dependencies errors with dart 1.4