MigrationInsight.fromJson constructor

MigrationInsight.fromJson(
  1. Map json_
)

Implementation

MigrationInsight.fromJson(core.Map json_)
    : this(
        computeEngineTarget: json_.containsKey('computeEngineTarget')
            ? ComputeEngineMigrationTarget.fromJson(
                json_['computeEngineTarget']
                    as core.Map<core.String, core.dynamic>)
            : null,
        fit: json_.containsKey('fit')
            ? FitDescriptor.fromJson(
                json_['fit'] as core.Map<core.String, core.dynamic>)
            : null,
      );