ServiceInfo constructor Null safety

const ServiceInfo(
  1. {String? name,
  2. String? type,
  3. String? host,
  4. int? port,
  5. Map<String, Uint8List?>? txt}
)

Implementation

const ServiceInfo({this.name, this.type, this.host, this.port, this.txt});