argsToSlice function

List<Uint8List?>? argsToSlice(
  1. List<Arg?>? args
)

Implementation

List<Uint8List> argsToSlice(List<Arg> args) {
  List<Uint8List> result = new List.filled(args.length, null);

  args.forEach((element) => {result[element.index] = toBytes(element)});

  return result;
}