LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
Line data Source code 1 : import 'dart:typed_data'; 2 : 3 : extension PickleKeyStringExtension on String { 4 31 : Uint8List toPickleKey() { 5 62 : final bytes = Uint8List.fromList(codeUnits); 6 62 : final missing = 32 - bytes.length; 7 31 : if (missing > 0) { 8 62 : return Uint8List.fromList([ 9 : ...bytes, 10 31 : ...List.filled(missing, 0), 11 : ]); 12 : } 13 12 : return Uint8List.fromList(bytes.getRange(0, 32).toList()); 14 : } 15 : } |
![]() |
Generated by: LCOV version 2.0-1 |