hasExactClass method

bool hasExactClass(
  1. String name
)

Checks if instance is exactly the specified class.

Parameters

  • name - Class name to check

Returns

bool - true if exact match

Implementation

bool hasExactClass(String name) => className == name;