resolve method
Implementation
IrTextStyle resolve(String defaultFamily) {
final size = fontSize ?? 14;
return IrTextStyle(
fontFamily: fontFamily ?? defaultFamily,
fontSize: size,
fontWeight: fontWeight ?? 400,
italic: italic ?? false,
color: color ?? IrColor.black,
lineHeight: height == null ? null : _round(height! * size),
letterSpacing: letterSpacing ?? 0,
token: token,
);
}