Terminal constructor

Terminal({
  1. DeviceHandler? terminalInfo,
  2. PINAppIntent? pinAppIntent,
  3. HttpService? httpService,
})

Implementation

Terminal(
    {DeviceHandler? terminalInfo,
    PINAppIntent? pinAppIntent,
    HttpService? httpService})
    : _terminalInfo = terminalInfo ?? TerminalInfo(),
      _appIntent = pinAppIntent ?? PINAppIntentImpl(),
      _httpService = httpService ?? HttpServiceImpl();