NfsExport.fromJson constructor

NfsExport.fromJson(
  1. Map json_
)

Implementation

NfsExport.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,
        cidr: json_.containsKey('cidr') ? json_['cidr'] as core.String : null,
        machineId: json_.containsKey('machineId')
            ? json_['machineId'] as core.String
            : null,
        networkId: json_.containsKey('networkId')
            ? json_['networkId'] as core.String
            : null,
        noRootSquash: json_.containsKey('noRootSquash')
            ? json_['noRootSquash'] as core.bool
            : null,
        permissions: json_.containsKey('permissions')
            ? json_['permissions'] as core.String
            : null,
      );