isObjectOrDynamicType property

bool isObjectOrDynamicType

Returns true if type is Object or dynamic.

Implementation

bool get isObjectOrDynamicType => isObjectType || isDynamicType;