SqlserverValidation.fromJson constructor

SqlserverValidation.fromJson(
  1. Map json_
)

Implementation

SqlserverValidation.fromJson(core.Map json_)
    : this(
        agentVersion: json_.containsKey('agentVersion')
            ? json_['agentVersion'] as core.String
            : null,
        instance: json_.containsKey('instance')
            ? json_['instance'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        validationDetails: json_.containsKey('validationDetails')
            ? (json_['validationDetails'] as core.List)
                .map((value) => SqlserverValidationValidationDetail.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );