toJson method
Implementation
Map<String, dynamic> toJson() {
final storageAllocatedInBytes = this.storageAllocatedInBytes;
final storageType = this.storageType;
return {
if (storageAllocatedInBytes != null)
'StorageAllocatedInBytes': storageAllocatedInBytes,
if (storageType != null) 'StorageType': storageType.toValue(),
};
}