check data type flutter code example
Example: check data type flutter
selector.runtimeType // return data type of the variable
Example:
if (selector.runtimeType == int) print("Hello")
selector.runtimeType // return data type of the variable
Example:
if (selector.runtimeType == int) print("Hello")