TextStylesMapper class

Mapper for color styles

Inheritance

Constructors

TextStylesMapper()
const

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

copyWith(TextStyleEntity e, {String? id, String? stabilID, String? branchID, String? name, String? fontFamily, FFontSize? fontSize, FFontWeight? fontWeight}) TextStyleEntity
fromJson(Map<String, dynamic> json) TextStyleEntity
For a single instance
override
listFromJson(List list) List<TextStyleEntity>
Get a list of color styles from json
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(TextStyleEntity e) Map<String, dynamic>
Return a json from this instance
override
toJsonWithId(TextStyleEntity e) Map<String, dynamic>
toJsonWithStabilID(TextStyleEntity e) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

branchKey → const String
familyKey → const String
idKey → const String
nameKey → const String
propertiesKey → const String
sizeKey → const String
typeKey → const String
weightKey → const String