SecurityLevel.fromJson constructor

SecurityLevel.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SecurityLevel.fromJson(Map<String, Object?> json) {
  return SecurityLevel(
    description: json[r'description'] as String?,
    id: json[r'id'] as String?,
    isDefault: json[r'isDefault'] as bool? ?? false,
    issueSecuritySchemeId: json[r'issueSecuritySchemeId'] as String?,
    name: json[r'name'] as String?,
    self: json[r'self'] as String?,
  );
}