getService method
Implementation
Future<Service> getService(String sdkId, String serviceId) async {
final res = await _methodChannel.invokeMethod<String>(
'ContactApi.tryAndRecover.getService',
{
"sdkId": sdkId,
"serviceId": jsonEncode(serviceId),
}
);
if (res == null) throw AssertionError("received null result from platform method getService");
final parsedResJson = jsonDecode(res);
return Service.fromJSON(parsedResJson);
}