LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
Line data Source code 1 : import 'dart:typed_data'; 2 : 3 : extension PickleKeyStringExtension on String { 4 30 : Uint8List toPickleKey() { 5 60 : final bytes = Uint8List.fromList(codeUnits); 6 60 : final missing = 32 - bytes.length; 7 30 : if (missing > 0) { 8 60 : return Uint8List.fromList([ 9 : ...bytes, 10 30 : ...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 |