NamedNavArgument
public final class NamedNavArgument
Construct a named NavArgument by using the navArgument method.
Summary
Public methods |
|
|---|---|
final @NonNull String |
Provides destructuring access to this |
final @NonNull NavArgument |
Provides destructuring access to this |
final @NonNull NavArgument |
The |
final @NonNull String |
getName()The name the argument is associated with |
Public methods
component1
Added in 2.4.0
public final @NonNull String component1()
Provides destructuring access to this NamedNavArgument's name
component2
Added in 2.4.0
public final @NonNull NavArgument component2()
Provides destructuring access to this NamedNavArgument's argument
getArgument
Added in 2.4.0
public final @NonNull NavArgument getArgument()
The NavArgument associated with the name