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