toJsonWithId method
Implementation
Map<String, dynamic> toJsonWithId(final TextStyleEntity e) => {
idKey: e.id,
_stabilID: e.stabilID,
typeKey: 'text',
branchKey: e.branchID,
nameKey: e.name,
propertiesKey: {
familyKey: e.fontFamily,
sizeKey: e.fontSize.toJson(),
weightKey: e.fontWeight.toJson()
}
};