canReflectType method

  1. @override
bool canReflectType(
  1. Type type
)
inherited

Returns true if this reflector has capabilities for the given Type.

Implementation

@override
bool canReflectType(Type type) {
  return _hasTypeCapability && data[this]?.typeMirrorForType(type) != null;
}