BaseBuilder

interface BaseBuilder<T>(source)

A generic base interface for builders that enables the construction of an object of type T. This interface is typically used in DSL patterns, providing a fluent and structured way to build complex objects.

Parameters

T

The type of object that the builder produces.

Inheritors

Functions

Link copied to clipboard
abstract fun build(): T

Builds and returns the instance of type T that has been configured using the builder.