InboundConnection.fromJson constructor
InboundConnection.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InboundConnection.fromJson(Map<String, dynamic> json) {
return InboundConnection(
connectionId: json['ConnectionId'] as String?,
connectionStatus: json['ConnectionStatus'] != null
? InboundConnectionStatus.fromJson(
json['ConnectionStatus'] as Map<String, dynamic>)
: null,
localDomainInfo: json['LocalDomainInfo'] != null
? DomainInformationContainer.fromJson(
json['LocalDomainInfo'] as Map<String, dynamic>)
: null,
remoteDomainInfo: json['RemoteDomainInfo'] != null
? DomainInformationContainer.fromJson(
json['RemoteDomainInfo'] as Map<String, dynamic>)
: null,
);
}