flutter check object type code example Example: flutter type check bool check(dynamic object) => object is T;