check abstract method
Assert that actual matches matcher.
actual: The current valuematcher: Can be a value in which case it will be wrapped in an equals matcherreason: If provided it is appended to the reason generated by the matcherskip: Is a String ortrue, the assertion is skipped. The arguments are still evaluated, butactualis not verified to matchmatcher
Implementation
void check(actual, matcher, {String reason, skip});