defineWithOverrides<T> static method
Define a factory with a callback that receives overrides.
Implementation
static void defineWithOverrides<T>(
T Function(NyFaker faker, Map<String, dynamic> attributes) builder,
) {
_definitions[T] = FactoryDefinitionWithOverrides<T>(builder);
}