Field

data class Field(val name: String) : PathSegment(source)

Path segment representing the name of a field.

This class isn't type-safe. Instead, see FieldDsl.div.

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Returns the string representation of this PathSegment. To obtain the representation of an entire Path, see Path.toString.