reprinterLastTransaction method

Future<ElginResponse?> reprinterLastTransaction()

Implementation

Future<ElginResponse?> reprinterLastTransaction() async {
  try {
    final response = await channel.invokeMethod(
      PaymentTypeCall.REPRINTER.method,
    );

    final model = ElginResponse.fromJson(response.toString());

    return model;
  } catch (_) {
    return null;
  }
}