fromJson static method
Implementation
static FSize fromJson(final Map<String, dynamic> json) {
try {
return FSize(
size: json['s'] as String,
sizeTablet: json['t'] as String?,
sizeDesktop: json['d'] as String?,
);
} catch (e) {
Logger.printError('Error in FSize fromJson: $e');
return const FSize(size: '16', sizeTablet: null, sizeDesktop: null);
}
}