equals method

bool equals(
  1. PStyle other
)

Implementation

bool equals(PStyle other) =>
    identical(this, other) ||
    runtimeType == other.runtimeType &&
        color == other.color &&
        size == other.size;