fromJson static method
Implementation
static WebApp? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return WebApp(
shortName: (json['short_name'] as String?) ?? '',
title: (json['title'] as String?) ?? '',
description: (json['description'] as String?) ?? '',
photo: Photo.fromJson(json['photo'] as Map<String, dynamic>?)!,
animation: Animation.fromJson(json['animation'] as Map<String, dynamic>?),
);
}