matcher<T> static method

bool Function(T) matcher<T>(
  1. String message
)

Implementation

static bool Function(T) matcher<T>(String message) =>
    (e) => e is ServerException && e.message == message;