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