expect abstract method

Never expect(
  1. String key,
  2. String expect, {
  3. int? id,
})

Throws an exception with a detailed message.

Implementation

Never expect(String key, String expect, {int? id});