customAction method
Implementation
Future<TefTransactionResponseMSitef?> customAction({
required Map<String, dynamic> params,
}) async {
try {
final resultTransaction = await channel.invokeMethod(
'action',
params,
);
final resultJson = json.decode(resultTransaction);
final model = TefTransactionModel.fromMap(resultJson);
return _fetchTefTransactionResponse(
model: model,
);
} catch (e) {
return null;
}
}