fromList static method

Pointer<IntPtr> fromList(
  1. List<String> strings
)

Implementation

static Pointer<IntPtr> fromList(List<String> strings) {
  final result = calloc<IntPtr>(strings.length);
  final pointers =
      strings.map((s) => NativeString.fromString(s).address).toList();
  _copyIntPtr(pointers, result);
  return result;
}