NfsExport.fromJson constructor

NfsExport.fromJson(
  1. Map json_
)

Implementation

NfsExport.fromJson(core.Map json_)
    : this(
        exportDirectory: json_.containsKey('exportDirectory')
            ? json_['exportDirectory'] as core.String
            : null,
        hosts: json_.containsKey('hosts')
            ? (json_['hosts'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );