strictHashCode property
int
get
strictHashCode
The strict hash code version for this EasyText instance
Example:
// like the key in a HashMap with requires strict equality
final strictMap = HashMap<EasyText, String>(
equals: (a, b) => a.strictEquals(b),
hashCode: (obj) => obj.strictHashCode,
);
Implementation
int get strictHashCode => Object.hash(
text,
styles,
id,
);