ThemeDTO.fromJson constructor

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

Implementation

ThemeDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  id = json['id'];
  createdAt = json['createdAt'];
  name = json['name'];
  title = json['title'];
  content = json['content'];
  design = json['design'];
}