setTCCParams method

Future<SuccessOrError> setTCCParams(
  1. TccParams params
)

Sets the given TCCParams to the RFID session. The parameters are required to be set before starting RFID session.

params - TCC related parameters.

Check out SuccessOrError documentation for handling return type.

Implementation

Future<SuccessOrError> setTCCParams(TccParams params) async {
  var response = await _bridge.invokeMethod(
    "setTCCParams",
    [params.toJson()],
  );
  return _successOrErrorFromJson(response);
}