GetConnectionStatusResponse.fromJson constructor

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

Implementation

factory GetConnectionStatusResponse.fromJson(Map<String, dynamic> json) {
  return GetConnectionStatusResponse(
    status: (json['Status'] as String?)?.toConnectionStatus(),
    target: json['Target'] as String?,
  );
}