factory Font.fromJson(Map<String, dynamic> map) => Font(size: map['size'], lineHeight: map['lineHeight'], fontWeight: _getFontWeight(map));