ComponentDeploymentSpecification.fromJson constructor

ComponentDeploymentSpecification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ComponentDeploymentSpecification.fromJson(Map<String, dynamic> json) {
  return ComponentDeploymentSpecification(
    componentVersion: json['componentVersion'] as String?,
    configurationUpdate: json['configurationUpdate'] != null
        ? ComponentConfigurationUpdate.fromJson(
            json['configurationUpdate'] as Map<String, dynamic>)
        : null,
    runWith: json['runWith'] != null
        ? ComponentRunWith.fromJson(json['runWith'] as Map<String, dynamic>)
        : null,
  );
}