isAssignableFromType abstract method

bool isAssignableFromType(
  1. DartType? staticType, {
  2. List<TypeChecker> args = const [],
})

Returns true if staticType can be assigned to this type.

Implementation

bool isAssignableFromType(
  DartType? staticType, {
  List<TypeChecker> args = const [],
});