fromJson static method
Parses a JSON String into a SplashConfig.
Returns null if parsing fails.
Implementation
static SplashConfig? fromJson(String json) {
try {
final map = jsonDecode(json) as Map<String, dynamic>;
return fromMap(map);
} catch (_) {
return null;
}
}