data method

dynamic data()

Returns data that's sent via the Navigator or routeTo method.

Implementation

dynamic data() {
  if (this.controller == null) {
    return null;
  }
  if (this.controller!.request == null) {
    return null;
  }
  return this.controller!.request!.data();
}