toMap method
Generates a map representing the FlagReason.
Implementation
Map<String, dynamic> toMap() {
final map = <String, dynamic>{};
map['id'] = id;
map['name'] = name;
map['description'] = description;
map['createdAt'] = createdAt;
map['updatedAt'] = updatedAt;
return map;
}