P2PPeer constructor

P2PPeer({
  1. required String id,
  2. required String name,
  3. required String publicKey,
  4. required String relayServer,
  5. required String version,
  6. String? icon,
  7. String? appURL,
  8. bool? isPaired,
})

Constructor for creating P2PPeer object.

Implementation

P2PPeer({
  required this.id,
  required this.name,
  required this.publicKey,
  required this.relayServer,
  required this.version,
  this.icon,
  this.appURL,
  this.isPaired,
});