Is a type dynamic?
static bool isDynamic(String type) { return (type == 'string') || (type == 'bytes') || (parseTypeArray(type) == 'dynamic'); }