getCallParams function

Map<String, String> getCallParams(
  1. Call call
)

Implementation

Map<String, String> getCallParams(twilio_js.Call call) {
  final customParams = _getCustomCallParameters(call.customParameters);
  final params = jsToStringMap(call.parameters);
  params.remove("Params");

  return Map<String, String>.from(customParams)..addAll(params);
}