invoke
operator fun <R> KProperty1<T, R>.invoke(init: (KProperty1<T, R>) -> Generator<R>)
Content copied to clipboard
Binds a KProperty1 to the specified Generator. Stored by the Faker to be used in each invocation of Faker.generate.
Parameters
init
Function parameter that is invoked in order to register the provided Generator