payNow method

Implementation

Future<SSLCTransactionInfoModel> payNow() async {
  try {
    var response =
    await _channel.invokeMethod('initiateSSLCommerz', jsonEncode(this));
    return SSLCTransactionInfoModel.fromJson(jsonDecode(response));
  } catch (e) {
    throw Exception(e.toString());
  }

}