decode static method
Implementation
static UITooltipSize? decode(dynamic json) {
if (json == null) {
return null;
}
if (json is! Map<String, dynamic>) {
return null;
}
return UITooltipSize(
width: IntDecoder.decode(json['width']),
height: IntDecoder.decode(json['height']),
);
}