hasInstanceOf method

bool hasInstanceOf(
  1. dynamic instance
)

Implementation

bool hasInstanceOf(instance) => instance is T;