• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Floating-Dartists / matomo-tracker / 6454971306

09 Oct 2023 09:47AM UTC coverage: 93.108%. First build
6454971306

Pull #122

github

web-flow
Merge 529900ea8 into eec76315c
Pull Request #122: Bump package_info_plus from 4.1.0 to 5.0.0

743 of 798 relevant lines covered (93.11%)

2.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/lib/src/platform_info/platform_info.dart
1
import 'package:flutter/cupertino.dart';
2

3
import 'package:matomo_tracker/src/platform_info/platform_info_interface.dart';
4
import 'package:matomo_tracker/src/platform_info/platform_info_io.dart'
5
    if (dart.library.html) 'package:matomo_tracker/src/platform_info/platform_info_web.dart';
6

7
class PlatformInfo extends PlatformInfoInterface {
8
  PlatformInfo._internal();
3✔
9

10
  static final instance = PlatformInfo._internal();
9✔
11

12
  PlatformInfoInterface _platformInfo = PlatformInfoImpl();
13

14
  @visibleForTesting
×
15
  set platformInfo(PlatformInfoInterface platformInfo) {
16
    _platformInfo = platformInfo;
×
17
  }
18

19
  @override
3✔
20
  bool get isWeb => _platformInfo.isWeb;
6✔
21

22
  @override
3✔
23
  bool get isAndroid => _platformInfo.isAndroid;
6✔
24

25
  @override
3✔
26
  bool get isIOS => _platformInfo.isIOS;
6✔
27

28
  @override
3✔
29
  bool get isMacOS => _platformInfo.isMacOS;
6✔
30

31
  @override
3✔
32
  bool get isWindows => _platformInfo.isWindows;
6✔
33

34
  @override
3✔
35
  bool get isLinux => _platformInfo.isLinux;
6✔
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc