submit static method

Future<ResponseStatus> submit(
  1. String formId,
  2. List<String> numbers
)

Submit some bills by billNos, and it can trigger the approval flow.

formId The formId of the bill or basedata. billNos The billnos of bills or the numbers of basedatas.

@return A response result by parsing json.

Implementation

static Future<ResponseStatus> submit(String formId, List<String> numbers) async {
  var resp = await K3Client.getInstance().operate(
    SubmitParam.builder()
      .formId(formId)
      .numbers(numbers)
      .build()
  );
  return ResponseStatus.fromJson(resp);
}