SecuritySchemeLevelBean.fromJson constructor
Implementation
factory SecuritySchemeLevelBean.fromJson(Map<String, Object?> json) {
return SecuritySchemeLevelBean(
description: json[r'description'] as String?,
isDefault: json[r'isDefault'] as bool? ?? false,
members: (json[r'members'] as List<Object?>?)
?.map((i) => SecuritySchemeLevelMemberBean.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
name: json[r'name'] as String? ?? '',
);
}