// Copyright 2015 The Chromium Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.part ofsprites;classImageMap{ImageMap(AssetBundlebundle):_bundle=bundle;finalAssetBundle_bundle;finalMap<String,Image>_images=newMap<String,Image>();Future<List<Image>>load(List<String>urls){returnFuture.wait(urls.map(_loadImage));}Future<Image>_loadImage(Stringurl)async{