deleteSettingsById method
Deletes a sms settings by recipient id.
correlation_id
(optional) transaction id to trace execution through call chain.recipientId
a recipient id of the sms settings to be deleted Return Future that receives deleted sms settings Throws error.
Implementation
@override
Future<SmsSettingsV1?> deleteSettingsById(
String? correlationId, String recipientId) async {
var result = await callCommand(
'delete_settings_by_id', correlationId, {'recipient_id': recipientId});
if (result == null) return null;
var item = SmsSettingsV1();
item.fromJson(json.decode(result));
return item;
}