arguments property
dynamic
get
arguments
Retrieves the arguments associated with the current modal route's settings.
Implementation
dynamic get arguments {
final Object? args = settings?.arguments;
if (args is PageSettings) {
return args.arguments;
} else {
return args;
}
}