DiskInstantiationConfig.fromJson constructor

DiskInstantiationConfig.fromJson(
  1. Map json_
)

Implementation

DiskInstantiationConfig.fromJson(core.Map json_)
    : this(
        autoDelete: json_.containsKey('autoDelete')
            ? json_['autoDelete'] as core.bool
            : null,
        customImage: json_.containsKey('customImage')
            ? json_['customImage'] as core.String
            : null,
        deviceName: json_.containsKey('deviceName')
            ? json_['deviceName'] as core.String
            : null,
        instantiateFrom: json_.containsKey('instantiateFrom')
            ? json_['instantiateFrom'] as core.String
            : null,
      );