toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"consent_message_id": this.Id,
"consent_message_type": this.Type,
"name": this.Name,
"description": this.Description,
"setting": this.Setting.toMap(),
"style_configuration": this.StyleConfiguration.toMap(),
"created_at": this.CreatedDate,
"updated_at": this.UpdatedDate,
};
}