Terminal constructor

Terminal(
  1. {@required String id,
  2. @required String name,
  3. @required String hardwareId,
  4. String pushService,
  5. String pushToken,
  6. @required User user,
  7. @required Account account}
)

Implementation

Terminal({
  @required this.id,
  @required this.name,
  @required this.hardwareId,
  this.pushService,
  this.pushToken,
  @required this.user,
  @required this.account,
});