toJson method

Map<String, dynamic> toJson()

Implementation

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