CreateSessionResponse.fromJson constructor
Implementation
factory CreateSessionResponse.fromJson(Map<String, dynamic> json) {
return CreateSessionResponse(
sessionId: json['session_id'],
url: json['url'],
qrBase64Png: json['qr_base64_png'],
branding: json['branding'] != null
? Branding.fromJson(json['branding'])
: null,
websocketURL: json['websocket_url'],
);
}