mapKeyType property

TypeReflection? mapKeyType

The TypeReflection of the Map key type.

Implementation

TypeReflection? get mapKeyType => isMapType ? arguments.firstOrNull : null;