fragment

fun fragment(name: String, rule: SplitBuilder.FragmentRule<T, R>.() -> Unit)

Add new fragment building rule. If the framgent not defined, result won't be available even if it is present in the map

Parameters

name

the name of a fragment

rule

the rule to transform fragment name and meta using