setInstalments static method

Future<void> setInstalments(
  1. int instalments
)

Implementation

static Future<void> setInstalments(int instalments) async {
  try {
    await platform.invokeMethod(
        'setInstalments', <String, int>{'instalments': instalments});
  } on PlatformException catch (e) {
    showToast(e.message.toString());
  }
}