isAssignableFromType method Null safety
- DartType staticType
Returns true
if staticType
can be assigned to this type.
Implementation
bool isAssignableFromType(DartType staticType) =>
isAssignableFrom(staticType.element!);
Returns true
if staticType
can be assigned to this type.
bool isAssignableFromType(DartType staticType) =>
isAssignableFrom(staticType.element!);