AuthorAttributionKt

public final class AuthorAttributionKt


Summary

Public methods

static final @NonNull AuthorAttribution

Builds a new AuthorAttribution.

Public methods

authorAttribution

public static final @NonNull AuthorAttribution authorAttribution(
    @NonNull String name,
    @ExtensionFunctionType Function1<@NonNull AuthorAttribution.BuilderUnit> actions
)

Builds a new AuthorAttribution.

Parameters
@NonNull String name

the name of the author

@ExtensionFunctionType Function1<@NonNull AuthorAttribution.BuilderUnit> actions

the actions to apply to the AuthorAttribution.Builder

Returns
@NonNull AuthorAttribution

the constructed AuthorAttribution