toMap method
Implementation
Map<String, dynamic> toMap() => {
"code": code,
"username": username,
"company_code": companyCode,
"full_name": fullName,
"is_disabled": isDisabled,
"password_attempts": passwordAttempts,
"reference_code": referenceCode,
"external_reference": externalReference,
"created_at": createdAt?.toIso8601String(),
"created_by": createdBy,
"write_at": writeAt?.toIso8601String(),
"write_by": writeBy,
};