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