Save state (data could be null)
data
@override Future<void> save(Uint8List? data) async { await file.writeAsBytes(data ?? Uint8List(0)); }