setRiskAssessment static method

Future<bool> setRiskAssessment(
  1. String jsonData
)

Implementation

static Future<bool> setRiskAssessment(String jsonData) async {
  try {
    final result = await platform.invokeMethod(
        'setRiskAssessment', <String, String>{'jsonData': jsonData});
    return result;
  } on PlatformException catch (e) {
    showToast(e.message.toString());
    rethrow;
  }
}