from static method
Implementation
static PCanvasElement? from(Object? o) {
if (o == null) return null;
if (o is PCanvasElement) return o;
if (o is Map<String, dynamic>) {
return PCanvasElement.fromJson(o);
}
return null;
}
static PCanvasElement? from(Object? o) {
if (o == null) return null;
if (o is PCanvasElement) return o;
if (o is Map<String, dynamic>) {
return PCanvasElement.fromJson(o);
}
return null;
}