FontStyle class

FontStyle: Regular, Bold, Italic, Underline, Strikeout

Constructors

FontStyle.fromJson(dynamic data)
Creates a FontStyle instance from a JSON representation.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String?
Returns a JSON representation of FontStyle.
toString() String
A string representation of this object.
override

Operators

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

Static Properties

Bold FontStyle
final
Italic FontStyle
final
Regular FontStyle
final
Strikeout FontStyle
final
Underline FontStyle
final

Static Methods

listFromJson(List json) List<FontStyle>
Converts a list of JSON objects to a list of FontStyle instances.