ConfirmConnectionResponse.fromJson constructor

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

Implementation

factory ConfirmConnectionResponse.fromJson(Map<String, dynamic> json) {
  return ConfirmConnectionResponse(
    connectionState:
        (json['connectionState'] as String?)?.toConnectionState(),
  );
}