Future<void> pushStack(String name, Ref ref) async { await kMethodChannel.invokeMethod( 'PlatformService::pushStack', {'name': name, '__this__': ref}, ); }