NsdService.fromMap constructor
Implementation
factory NsdService.fromMap(Map<String, dynamic> map) {
return NsdService(
ip: map['ip'],
port: map['port'],
name: map['name'],
type: map['type'],
attributes: map['attributes'] != null
? Map<String, dynamic>.from(map['attributes'])
: null,
);
}