RelayInformations.fromNip11Response constructor
Implementation
factory RelayInformations.fromNip11Response(Map<String, dynamic> json) {
return RelayInformations(
contact: json['contact'],
description: json['description'],
name: json['name'],
pubkey: json['pubkey'],
software: json['software'],
supportedNips:
(json['supported_nips'] as List).map((e) => e as int).toList(),
version: json['version'],
);
}