SubDescription.fromJson constructor
Implementation
factory SubDescription.fromJson(Map<String, dynamic> json) {
return SubDescription(
text: json['text'] as String?,
type: json['type'] as String?,
isBold: json['isBold'] as bool?,
isSpaceRequired: json['isSpaceRequired'] as bool?,
);
}