shuffle method

DartBlockFunction shuffle({
  1. bool deep = false,
})

Implementation

DartBlockFunction shuffle({bool deep = false}) {
  return DartBlockFunction(
    name,
    returnType,
    parameters,
    deep
          ? (statements.map((e) => e.shuffle()).toList()..shuffle())
          : statements
      ..shuffle(),
  );
}