Can you fake this with a callable class? Typedef reflection is not implemented in dart2js and likely not going to be anytime soon.