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`.