expect method
Assert that actual
matches matcher
, reason
is optional.
Implementation
void expect(
dynamic actual,
dynamic matcher, {
String? reason,
}) =>
ExpectMimic().expect(
actual,
matcher,
reason: reason,
);