Fix type annotations in multimap.dart and tests