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

dart-lang / ffigen / 4272458024

pending completion
4272458024

push

github

GitHub
Bump SDK constraint to 4.0.0 (#517)

3164 of 3442 relevant lines covered (91.92%)

24.71 hits per line

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

83.33
/lib/src/code_generator/handle.dart
1
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4

5
import 'package:ffigen/src/code_generator.dart';
6

7
import 'writer.dart';
8

9
/// Represents a Dart_Handle.
10
class HandleType extends Type {
11
  const HandleType._();
52✔
12
  static const _handle = HandleType._();
13
  factory HandleType() => _handle;
1✔
14

15
  @override
1✔
16
  String getCType(Writer w) => '${w.ffiLibraryPrefix}.Handle';
2✔
17

18
  @override
1✔
19
  String getDartType(Writer w) => 'Object';
20

21
  @override
×
22
  String toString() => 'Handle';
23
}
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

© 2026 Coveralls, Inc