// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.import'dart:developer';import'package:flutter/widgets.dart';voidmain(){finalSet<Widget>widgets=<Widget>{};widgets.add(constText('same'));widgets.add(constText('same'));// If track-widget-creation is enabled, the set will have 2 members.// Otherwise is will only have one.registerExtension('ext.devicelab.test',(Stringmethod,Map<String,Object>params)async{returnServiceExtensionResponse.result('{"result":${widgets.length}}');});}