LiveKitCustomMessagee.fromJson constructor

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

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']);
  }
}