FontName constructor

FontName({
  1. required String fontId,
  2. required String displayName,
})

Implementation

FontName({
  /// The font ID.
  required String fontId,

  /// The display name of the font.
  required String displayName,
}) : _wrapped = $js.FontName(
        fontId: fontId,
        displayName: displayName,
      );