canRead method

bool canRead(
  1. String table
)

Implementation

bool canRead(String table) {
  if (tables == null) return true;
  for (final t in tables!) {
    if (t.name == table) return t.read;
  }
  return false;
}