getCurrentOperatorPassword method

Future<String> getCurrentOperatorPassword(
  1. int operator
)

Implementation

Future<String> getCurrentOperatorPassword(int operator) async {
  final pass = await readWriteParameter(
    name: Parameters.OperPasw.name,
    index: operator - 1,
  );

  if (pass == null || pass.isEmpty) {
    throw FiscalCodeException(
      'Current operator password is empty or not set',
      0,
    );
  }
  return pass;
}