data<T> method
T?
data<T>({
- dynamic defaultValue,
Returns data that's sent via the Navigator or routeTo method.
Implementation
// ignore: avoid_shadowing_type_parameters
T? data<T>({dynamic defaultValue}) {
if (this.controller.request == null) return null;
return this.controller.request!.data(defaultValue: defaultValue);
}