toJson method
Converts a VolumeNodeResources instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempCount = count;
if (tempCount != null) {
jsonData['count'] = tempCount;
}
return jsonData;
}