scope_function library
Extensions
- ScopeFunction on T
Functions
-
withThe<
T, R> (T it, R block(T it)) → R -
Calls the specified function
blockwith the givenitas its argument and returns its result. Since Receiver not supported in Dart, you need call the argument object using dot notation. Although this function works same as therunfunction,we still implement it for better semantic reading.