BrokerInstance.fromJson constructor
Implementation
factory BrokerInstance.fromJson(Map<String, dynamic> json) {
return BrokerInstance(
consoleURL: json['consoleURL'] as String?,
endpoints: (json['endpoints'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
ipAddress: json['ipAddress'] as String?,
);
}