toMap method
Implementation
Map<String, dynamic> toMap() => {
"code": code,
"description": description,
"business_name": businessName,
"business_doc": businessDoc,
"address": address,
"is_disabled": isDisabled,
"comment": comment,
"image_location": imageLocation,
"created_at": createdAt?.toIso8601String(),
"created_by": createdBy,
"write_at": writeAt?.toIso8601String(),
"write_by": writeBy,
"perfiles": perfiles.map((e) => e.toMap()).toList(),
};