StoryTypography.fromJson constructor
StoryTypography.fromJson(
- Map json
Implementation
StoryTypography.fromJson(Map<dynamic, dynamic> json) {
font = json['font'] ?? 'Roboto';
// ignore: avoid_as
fontSize = toDouble(json['fontSize']);
fontStyle = json['fontStyle'] ?? '';
align = json['align'] ?? '';
transform = json['transform'] ?? '';
}