expectNull function

void expectNull(
  1. dynamic nullable, {
  2. String? reason,
  3. dynamic skip,
})

Implementation

void expectNull(
  dynamic nullable, {
  String? reason,
  dynamic skip, // true or a String
}) {
  expect(
    nullable,
    null,
    reason: reason,
    skip: skip,
  );
}