loadTypography method
Implementation
Future<void> loadTypography() async {
try {
final String? raw = ULocalStorage.getString("u_epub_typography");
if (raw == null || raw.isEmpty) return;
final Object? decoded = jsonDecode(raw);
if (decoded is Map<String, Object?>) {
typography = UEpubTypography.fromJson(decoded);
notifyListeners();
}
} on Object {
return;
}
}