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