PasteMethod typedef Null safety

PasteMethod = void Function(String str)

Implementation

typedef void PasteMethod(String str);