NfsExportOptions.fromJson constructor
NfsExportOptions.fromJson(
- Map json_
Implementation
NfsExportOptions.fromJson(core.Map json_)
: this(
accessMode: json_.containsKey('accessMode')
? json_['accessMode'] as core.String
: null,
anonGid: json_.containsKey('anonGid')
? json_['anonGid'] as core.String
: null,
anonUid: json_.containsKey('anonUid')
? json_['anonUid'] as core.String
: null,
ipRanges: json_.containsKey('ipRanges')
? (json_['ipRanges'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
squashMode: json_.containsKey('squashMode')
? json_['squashMode'] as core.String
: null,
);