toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final defaultGid = this.defaultGid;
  final defaultUid = this.defaultUid;
  final mountPath = this.mountPath;
  return {
    if (defaultGid != null) 'DefaultGid': defaultGid,
    if (defaultUid != null) 'DefaultUid': defaultUid,
    if (mountPath != null) 'MountPath': mountPath,
  };
}