GetEffectiveSecurityPoliciesBackendServiceRequest.fromJson constructor

GetEffectiveSecurityPoliciesBackendServiceRequest.fromJson(
  1. Object? j
)

Implementation

factory GetEffectiveSecurityPoliciesBackendServiceRequest.fromJson(
  Object? j,
) {
  final json = j as Map<String, Object?>;
  return GetEffectiveSecurityPoliciesBackendServiceRequest(
    backendService: switch (json['backendService']) {
      null => '',
      Object $1 => decodeString($1),
    },
    project: switch (json['project']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}