CaptionParams.fromJson constructor
Implementation
CaptionParams.fromJson(Map<String, dynamic> json) {
text = json['text'];
alignment = TextAlignment.fromJson(json['alignment']);
color = json['color'];
visible = json['visible'];
font = FontParams.fromJson(json['font']);
padding = Padding.fromJson(json['padding']);
noWrap = json['noWrap'];
}