makeManyWithJsonArray method
Create an array of both model and its relative JSON Object.
Implementation
@override
List<FixtureTuple<Model>> makeManyWithJsonArray(
int number, {
bool growableList = false,
}) =>
List.generate(
number,
(_) {
final model = fixtureDefinition.makeSingle();
final json = jsonDefinition(model);
return FixtureTuple<Model>(object: model, json: json);
},
growable: growableList,
);