toJson method

Map<String, dynamic> toJson()

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,
  };
}