H2.fromJson constructor
H2.fromJson(
- dynamic json
Implementation
H2.fromJson(dynamic json) {
_fontFamily = json['fontFamily'];
_color = json['color'];
_fontSize = json['fontSize'];
_fontWeight = json['fontWeight'];
_opacity = json['opacity'];
}