isOfType method
Returns true
if the parameter type
is equals to field type
.
- If
arguments
is provided, also checks equalsArgumentsTypes.
Implementation
bool isOfType(Type type, [List<Type>? arguments]) {
return typeInfo.isOf(type, arguments);
}