LiveKitCustomMessagee.fromJson constructor
Implementation
LiveKitCustomMessagee.fromJson(Map<String, dynamic> json) {
if (json.containsKey('version')) {
version = json['version'];
}
if (json.containsKey('platform')) {
platform = json['platform'];
}
if (json.containsKey('businessID')) {
businessID = json['businessID'];
}
if (json.containsKey('data')) {
data = LiveKitCustomMessageData.fromJson(json['data']);
}
}