toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowDev != null) 'allowDev': allowDev!,
      if (allowSuid != null) 'allowSuid': allowSuid!,
      if (allowedClientsCidr != null)
        'allowedClientsCidr': allowedClientsCidr!,
      if (mountPermissions != null) 'mountPermissions': mountPermissions!,
      if (network != null) 'network': network!,
      if (nfsPath != null) 'nfsPath': nfsPath!,
      if (noRootSquash != null) 'noRootSquash': noRootSquash!,
      if (shareIp != null) 'shareIp': shareIp!,
    };