toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      DBKeys.fill: fill.toJson(),
      DBKeys.fontSize: fontSize.toJson(),
      DBKeys.fontFamily: fontFamily,
      DBKeys.fontWeight: fontWeight.toJson(),
      DBKeys.textDecoration: textDecoration.toJson(),
      DBKeys.textAlign: textAlign.toJson(),
      DBKeys.fontStyle: fontStyle.toJson(),
      DBKeys.textDirection: textDirection.toJson(),
      DBKeys.textStyleModel: textStyleModel,
      DBKeys.letterSpacing: letterSpacing.toJson(),
      DBKeys.lineSpacing: lineSpacing.toJson(),
    };