TextInfo.fromJson constructor

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

Implementation

TextInfo.fromJson(Map<String, dynamic> json) {
  text = json['text'];
  fontWeight = json['fontWeight'];
}