isOk static method

bool isOk(
  1. int? code
)

Implementation

static bool isOk(int? code) => (code != null && code == 200);