PersistentDirectory.fromJson constructor

PersistentDirectory.fromJson(
  1. Map json_
)

Implementation

PersistentDirectory.fromJson(core.Map json_)
    : this(
        gcePd: json_.containsKey('gcePd')
            ? GceRegionalPersistentDisk.fromJson(
                json_['gcePd'] as core.Map<core.String, core.dynamic>)
            : null,
        mountPath: json_.containsKey('mountPath')
            ? json_['mountPath'] as core.String
            : null,
      );