fromJson static method
Implementation
static FrameRef? fromJson(Map<String, Object?>? json) {
if (json == null) return null;
var path = json['path'] as String?;
if (path == null) return null;
return FrameRef(
path: path,
width: json['width'] as int? ?? 0,
height: json['height'] as int? ?? 0,
);
}