SecurityInformationDto.fromJson constructor

SecurityInformationDto.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SecurityInformationDto.fromJson(Map<String, dynamic> json) {
  return SecurityInformationDto(
    title: json["title"] as String?,
    data: (json["data"] as List<dynamic>?)
        ?.map((e) =>
            SecurityInformationDataDto.fromJson(e as Map<String, dynamic>))
        .toList(),
    type: decodeTseTypeDto(TseTypeDtoEnumMap, json["type"] as String),
  );
}