isServer static method

bool isServer(
  1. WardenType? wardenType
)

Implementation

static bool isServer(WardenType? wardenType) {
  return (wardenType == WardenType.WRITE_SERVER ||
      wardenType == WardenType.READ_SERVER);
}