count property

int get count

Implementation

int get count =>
    (topLeft != null ? 1 : 0) +
    (topRight != null ? 1 : 0) +
    (bottomLeft != null ? 1 : 0) +
    (bottomRight != null ? 1 : 0) +
    (left != null ? 1 : 0) +
    (top != null ? 1 : 0) +
    (right != null ? 1 : 0) +
    (bottom != null ? 1 : 0);