Promoted typedef

Promoted = Future<PieceType?> Function()

Implementation

typedef Promoted = Future<PieceType?> Function();