Webfont class

Metadata describing a family of fonts.

Constructors

Webfont({List<Axis>? axes, String? category, String? family, Map<String, String>? files, String? kind, String? lastModified, String? menu, List<String>? subsets, List<String>? variants, String? version})
Webfont.fromJson(Map json_)

Properties

axes List<Axis>?
Axis for variable fonts.
getter/setter pair
category String?
The category of the font.
getter/setter pair
family String?
The name of the font.
getter/setter pair
files Map<String, String>?
The font files (with all supported scripts) for each one of the available variants, as a key : value map.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
This kind represents a webfont object in the webfonts service.
getter/setter pair
lastModified String?
The date (format "yyyy-MM-dd") the font was modified for the last time.
getter/setter pair
Font URL for menu subset, a subset of the font that is enough to display the font name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subsets List<String>?
The scripts supported by the font.
getter/setter pair
variants List<String>?
The available variants for the font.
getter/setter pair
version String?
The font version.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited