equals method

bool equals(
  1. PFont other
)

Implementation

bool equals(PFont other) =>
    identical(this, other) || family == other.family && size == other.size;