package io.github.serpro69.kfaker.sports

Classes

Name Description
class Faker

Typealias for the SportsFaker

class SportsFaker: Any

Provides access to fake data generators within the Sports domain.

Each category (generator) from this SportsFaker is represented by a property that (usually) has the same name as the .yml dictionary file.

Subpackages

Typealiases

Name Description
typealias Faker = SportsFaker

Typealias for the SportsFaker

Methods

faker

fun faker(block: Builder.()->Unit): SportsFaker

Applies the block function to SportsFaker.Builder and returns as an instance of SportsFaker from that builder.

Parameters

Name Description
block: Builder.()->Unit

ReturnValue

Name Description
SportsFaker