RenderingEngine.fromJson constructor

RenderingEngine.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RenderingEngine.fromJson(Map<String, dynamic> json) {
  return RenderingEngine(
    name: (json['name'] as String?)?.toRenderingEngineType(),
    version: json['version'] as String?,
  );
}