isSimpleType function
Checks if the type
is either primitive (see isPrimitiveType), List, Set, or Map;
Implementation
bool isSimpleType(Type type) =>
isPrimitiveType(type) || type == List || type == Map || type == Set;
Checks if the type
is either primitive (see isPrimitiveType), List, Set, or Map;
bool isSimpleType(Type type) =>
isPrimitiveType(type) || type == List || type == Map || type == Set;