EditorResult.fromJson constructor

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

Creates a new EditorResult from the given json.

Implementation

factory EditorResult.fromJson(Map<String, dynamic> json) => EditorResult(
    scene: json["scene"],
    artifact: json["artifact"],
    thumbnail: json["thumbnail"],
    metadata: Map<String, dynamic>.from(json["metadata"] ?? {}));