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 | | 15 | final threadId = Isolate.current.hashCode.hex; |
11 | | |
|
12 | | 10 | Converter getPlatformConverter() => CastConverter.instance; |
13 | | |
|
14 | | 12 | SquadronPlatformType getPlatformType() => SquadronPlatformType.vm; |
15 | | |
|
16 | | 0 | Uri mapUrl(String url) => Uri.parse(url); |
17 | | |
|
18 | | 3 | @internal |
19 | | | bool isSameInstance(Object a, Object b) => identical(a, b); |