GuestConfigDetails.fromJson constructor

GuestConfigDetails.fromJson(
  1. Map json_
)

Implementation

GuestConfigDetails.fromJson(core.Map json_)
    : this(
        fstab: json_.containsKey('fstab')
            ? FstabEntryList.fromJson(
                json_['fstab'] as core.Map<core.String, core.dynamic>)
            : null,
        hosts: json_.containsKey('hosts')
            ? HostsEntryList.fromJson(
                json_['hosts'] as core.Map<core.String, core.dynamic>)
            : null,
        issue:
            json_.containsKey('issue') ? json_['issue'] as core.String : null,
        nfsExports: json_.containsKey('nfsExports')
            ? NfsExportList.fromJson(
                json_['nfsExports'] as core.Map<core.String, core.dynamic>)
            : null,
        selinuxMode: json_.containsKey('selinuxMode')
            ? json_['selinuxMode'] as core.String
            : null,
      );