Retrieves the parameters associated with the current modal route's settings arguments.
Implementation
Map<String, String> get params {
final Object? args = settings?.arguments;
if (args is PageSettings) {
return args.params;
} else {
return <String, String>{};
}
}