targetId method

void targetId(
  1. String targetId
)

it is valid for Task/TaskList/CalendarEvent ref target_id: event id of target

Implementation

void targetId(
  String targetId,
) {
  final tmp1 = targetId;
  var tmp0 = 0;
  var tmp2 = 0;
  var tmp3 = 0;
  var tmp4 = 0;
  tmp0 = _box.borrow();
  final tmp1_0 = utf8.encode(tmp1);
  tmp3 = tmp1_0.length;

  final ffi.Pointer<ffi.Uint8> tmp2_0 = _api.__allocate(tmp3 * 1, 1);
  final Uint8List tmp2_1 = tmp2_0.asTypedList(tmp3);
  tmp2_1.setAll(0, tmp1_0);
  tmp2 = tmp2_0.address;
  tmp4 = tmp3;
  _api._refDetailsBuilderTargetId(
    tmp0,
    tmp2,
    tmp3,
    tmp4,
  );
  return;
}