from static method
Implementation
static ScrollerArgs from(dynamic of) {
if (of == null) return ScrollerArgs.of(null);
if (of is ScrollerArgs) return of;
if (of is Map<String, dynamic>) return ScrollerArgs.of(of["scroller"] as ScrollController?);
if (of is ScrollController) return ScrollerArgs.of(of);
if (of is RouteParams) return ScrollerArgs.of(of["scroller"] as ScrollController?);
return ScrollerArgs.of(null);
}