AcceptInboundConnectionResponse.fromJson constructor

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

Implementation

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