ReviewKt

public final class ReviewKt


Summary

Public methods

static final @NonNull Review
review(
    double rating,
    @NonNull AuthorAttribution authorAttribution,
    @ExtensionFunctionType Function1<@NonNull Review.BuilderUnit> actions
)

Builds a new Review.

Public methods

review

public static final @NonNull Review review(
    double rating,
    @NonNull AuthorAttribution authorAttribution,
    @ExtensionFunctionType Function1<@NonNull Review.BuilderUnit> actions
)

Builds a new Review.

Parameters
double rating

the rating of the review

@NonNull AuthorAttribution authorAttribution

the AuthorAttribution of the review

@ExtensionFunctionType Function1<@NonNull Review.BuilderUnit> actions

the actions to apply to the Review.Builder

Returns
@NonNull Review

the constructed Review