get method

Future<PaymentMethodCompleteModel> get({
  1. required String id,
})

Implementation

Future<PaymentMethodCompleteModel> get({required String id}) async {
  var result = await apiResource.getById(id: id);
  return PaymentMethodCompleteModel.fromMap(result);
}