CloneStep.fromJson constructor

CloneStep.fromJson(
  1. Map json_
)

Implementation

CloneStep.fromJson(core.Map json_)
    : this(
        adaptingOs: json_.containsKey('adaptingOs')
            ? AdaptingOSStep.fromJson(
                json_['adaptingOs'] as core.Map<core.String, core.dynamic>)
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        instantiatingMigratedVm: json_.containsKey('instantiatingMigratedVm')
            ? InstantiatingMigratedVMStep.fromJson(
                json_['instantiatingMigratedVm']
                    as core.Map<core.String, core.dynamic>)
            : null,
        preparingVmDisks: json_.containsKey('preparingVmDisks')
            ? PreparingVMDisksStep.fromJson(json_['preparingVmDisks']
                as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );