| 1 | | | import 'dart:isolate'; |
| 2 | | | |
| 3 | | | import 'package:meta/meta.dart'; |
| 4 | | | |
| 5 | | | import '../../converters/cast_converter.dart'; |
| 6 | | | import '../../converters/converter.dart'; |
| 7 | | | import '../../squadron_platform_type.dart'; |
| 8 | | | import '../../utils.dart'; |
| 9 | | | |
| 10 | | | /// threadIDs may not be unique on VM... |
| 11 | | 15 | final threadId = Isolate.current.hashCode.hex; |
| 12 | | | |
| 13 | | 10 | Converter getPlatformConverter() => CastConverter.instance; |
| 14 | | | |
| 15 | | 12 | SquadronPlatformType getPlatformType() => SquadronPlatformType.vm; |
| 16 | | | |
| 17 | | 0 | Uri mapUrl(String url) => Uri.parse(url); |
| 18 | | | |
| 19 | | 3 | @internal |
| 20 | | | bool isSameInstance(Object a, Object b) => identical(a, b); |