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