blob: 6f2119cc08dade8828c4bdedde2f14e9271a21da [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file
part of repositories;
class UnlinkedCallRepository extends M.UnlinkedCallRepository {
Future<M.UnlinkedCall> get(M.IsolateRef i, String id) async {
S.Isolate isolate = i as S.Isolate;
assert(isolate != null);
return (await isolate.getObject(id)) as S.UnlinkedCall;
}
}