ResolvedBonsoirService.fromJson constructor
Creates a new resolved Bonsoir service instance from the given JSON map.
Implementation
ResolvedBonsoirService.fromJson(
Map<String, dynamic> json, {
String prefix = 'service.',
}) : this.ignoreNorms(
name: json['${prefix}name'],
type: json['${prefix}type'],
port: json['${prefix}port'],
attributes: Map<String, String>.from(json['${prefix}attributes']),
host: json['${prefix}host'],
);