AllowedClient.fromJson constructor

AllowedClient.fromJson(
  1. Map json_
)

Implementation

AllowedClient.fromJson(core.Map json_)
    : this(
        allowDev: json_.containsKey('allowDev')
            ? json_['allowDev'] as core.bool
            : null,
        allowSuid: json_.containsKey('allowSuid')
            ? json_['allowSuid'] as core.bool
            : null,
        allowedClientsCidr: json_.containsKey('allowedClientsCidr')
            ? json_['allowedClientsCidr'] as core.String
            : null,
        mountPermissions: json_.containsKey('mountPermissions')
            ? json_['mountPermissions'] as core.String
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        nfsPath: json_.containsKey('nfsPath')
            ? json_['nfsPath'] as core.String
            : null,
        noRootSquash: json_.containsKey('noRootSquash')
            ? json_['noRootSquash'] as core.bool
            : null,
        shareIp: json_.containsKey('shareIp')
            ? json_['shareIp'] as core.String
            : null,
      );