To get an object’s type at runtime, you can use Object’s runtimeType property, which returns a Type object. print('The type of a is ${a.runtimeType}');
print('The type of a is ${a.runtimeType}');
Clickable & Draggable!