ResourceHandle.fromJson constructor
Creates a ResourceHandle from JSON data.
Implementation
factory ResourceHandle.fromJson(Map<String, dynamic> json) {
final tempDataJson = json['data'];
final tempDriverNameJson = json['driverName'];
final String? tempData = tempDataJson;
final String? tempDriverName = tempDriverNameJson;
return ResourceHandle(
data: tempData,
driverName: tempDriverName,
);
}