decode static method
Implementation
static DV3DSceneDocument decode(String source) {
final Object? json;
try {
json = jsonDecode(source);
} on FormatException catch (error) {
throw DV3DSceneFormatException(r'$', 'not JSON: ${error.message}');
}
return DV3DSceneDocument.fromJson(json);
}