fromStr method

void fromStr(
  1. IStatus status,
  2. int scale,
  3. String from,
  4. Pointer<FbI128> to,
)

Implementation

void fromStr(IStatus status, int scale, String from, Pointer<FbI128> to) {
  final fromUtf = from.toNativeUtf8(allocator: mem);
  try {
    _fromString(self, status.self, scale, fromUtf, to);
    status.checkStatus();
  } finally {
    mem.free(fromUtf);
  }
}