isSubtypeOfFunc property
A function that determines if the current runtime type is a subtype of another runtime type.
This function is used to perform subtype checking at runtime, which is essential for type safety and polymorphism in the bridge system.
Parameters:
other: The runtime type to check against for subtype relationshipvalue: Optional value that can be used for additional context during subtype checking
Returns:
trueif this type is a subtype ofotherfalseif this type is not a subtype ofother
The function can be null if subtype checking is not supported or not needed for this particular runtime type.
Implementation
final bool Function(BridgedClass other, {Object? value})? isSubtypeOfFunc;