AssociateSecuritySchemeWithProjectDetails.fromJson constructor
AssociateSecuritySchemeWithProjectDetails.fromJson(
- Map<String, Object?> json
)
Implementation
factory AssociateSecuritySchemeWithProjectDetails.fromJson(
Map<String, Object?> json) {
return AssociateSecuritySchemeWithProjectDetails(
oldToNewSecurityLevelMappings:
(json[r'oldToNewSecurityLevelMappings'] as List<Object?>?)
?.map((i) => OldToNewSecurityLevelMappingsBean.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
projectId: json[r'projectId'] as String? ?? '',
schemeId: json[r'schemeId'] as String? ?? '',
);
}