toJson method
Implementation
Map<String, dynamic> toJson() {
final containerPath = this.containerPath;
final size = this.size;
final mountOptions = this.mountOptions;
return {
'containerPath': containerPath,
'size': size,
if (mountOptions != null) 'mountOptions': mountOptions,
};
}