Heading.fromJson constructor

Heading.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Heading.fromJson(Map<String, dynamic> json) {
  text = json['text'];
  textAlign = json['textAlign'];
  textDecoration = json['textDecoration'];
  textTransform = json['textTransform'];
  fontStyle = json['fontStyle'];
  fontFamily = json['fontFamily'];
  fontWeight = json['fontWeight'];
  color = json['color'];
}