addData method

dynamic addData(
  1. dynamic currentData(
    1. dynamic data
    )
)

Add data to the current route.

Implementation

addData(dynamic Function(dynamic data) currentData) {
  nyArgument?.setData((currentData(data)));
}