generate method

void generate({
  1. required IOSink fileSink,
  2. bool withDart = false,
  3. bool withFunctionDart = false,
  4. bool withFunctionC = false,
  5. bool withName = false,
  6. bool withCaller = false,
})

Generates respective code for each SteamParam

Implementation

void generate({
  required IOSink fileSink,
  bool withDart = false,
  bool withFunctionDart = false,
  bool withFunctionC = false,
  bool withName = false,
  bool withCaller = false,
}) {
  for (SteamParam param in this) {
    param.generate(
      fileSink: fileSink,
      withDart: withDart,
      withFunctionDart: withFunctionDart,
      withFunctionC: withFunctionC,
      withName: withName,
      withCaller: withCaller,
    );
  }
}