setPrintFooter method

Future<void> setPrintFooter(
  1. bool printFooter
)

Set print footer setting

Implementation

Future<void> setPrintFooter(bool printFooter) async {
  try {
    await _storage.write(key: _printFooterKey, value: printFooter.toString());
  } catch (e) {
    // Handle storage errors gracefully
  }
}