GetType extension

on

Methods

getType<T>({bool shared = true}) → T
shared 即使为 false, 也会在Nop.page中共享
getTypeOr<T>({bool shared = true}) → T?