Change back to Object from dynamic (dart-lang/stack_trace#66)

See https://github.com/dart-lang/stack_trace/pull/64#discussion_r410279004

Enable and fix the lint `avoid_private_typedef_functions`.
4 files changed
tree: a2a40c8ef013342d817a0ca0878e3c70b40013ce
  1. pkgs/