isComplexType property
bool
isComplexType
Determine whether the current instance is a complex type, not bool, int, double, String, Map, List, Set.
Can be called in the following ways,
2.isComplexType
2.runtimeType.isComplexType
Implementation
bool get isComplexType => !isSimpleType;