RejectInboundConnectionResponse.fromJson constructor

RejectInboundConnectionResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RejectInboundConnectionResponse.fromJson(Map<String, dynamic> json) {
  return RejectInboundConnectionResponse(
    connection: json['Connection'] != null
        ? InboundConnection.fromJson(
            json['Connection'] as Map<String, dynamic>)
        : null,
  );
}