ContentDTO.fromJson constructor

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

Implementation

factory ContentDTO.fromJson(Map<String, Object?> json) {
  return ContentDTO(
    iframeSrc: json[r'iframeSrc'] as String?,
  );
}