FactoryState typedef

FactoryState = Map<String, Object?> Function(Faker faker)

A state transformation (state()): receives the faker, returns overrides.

Implementation

typedef FactoryState = Map<String, Object?> Function(Faker faker);