toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['caller_name'] = caller_name;
data['caller_number'] = caller_number;
data['call_id'] = call_id;
data['voice_sdk_id'] = voice_sdk_id;
data['isAnswer'] = isAnswer;
data['isDecline'] = isDecline;
return data;
}