toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "code": code,
      "description": description,
      "address": address,
      "company_code": companyCode,
      "is_disabled": isDisabled,
      "created_at": createdAt?.toIso8601String(),
      "created_by": createdBy,
      "write_at": writeAt?.toIso8601String(),
      "write_by": writeBy,
    };