getSubscription 方法

Future<PushSubscription> getSubscription()

实现

Future<PushSubscription> getSubscription() =>
    promiseToFuture<PushSubscription>(
        JS("creates:PushSubscription;", "#.getSubscription()", this));