as static method

TextStyleDto as(
  1. TextStyle style
)

Implementation

static TextStyleDto as(TextStyle style) {
  return TextStyleDto(TextStyleData.from(style));
}