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(tdMapFromJson(json['photo'])),
animation: Animation.fromJson(tdMapFromJson(json['animation'])),
);
}