dvStudioStructureIn function
The structure captured for route in directory, or null.
Implementation
Object? dvStudioStructureIn(String? directory, String route) {
final String? name = dvStudioStructureName(route);
if (directory == null || name == null) return null;
try {
return jsonDecode(utf8.decode(DVAssetSources.at(directory).file('$name.json')!.bytes()));
} on Object {
return null;
}
}