nz_rental_tools 1.0.0 copy "nz_rental_tools: ^1.0.0" to clipboard
nz_rental_tools: ^1.0.0 copied to clipboard

New Zealand tenancy and property utilities. Bond calculations, rent increase validation, healthy homes compliance checks, and Tenancy Services reference data for NZ landlords and tenants.

example/nz_rental_tools_example.dart

import 'package:nz_rental_tools/nz_rental_tools.dart';

void main() {
  // Calculate max bond for $650/week rent
  print('Max bond: \$${maxBond(650)}'); // $2600

  // Check if a rent increase is valid (12 months rule)
  final lastIncrease = DateTime(2025, 3, 1);
  final proposed = DateTime(2026, 4, 1);
  print('Increase valid: ${isRentIncreaseValid(lastIncrease, proposed)}');

  // Earliest date a rent increase can take effect
  final noticeDate = DateTime(2026, 2, 14);
  print('Earliest effective: ${earliestRentIncreaseDate(noticeDate)}');

  // Check notice period
  final effectiveDate = DateTime(2026, 5, 1);
  print('Sufficient notice: '
      '${hasSufficientRentIncreaseNotice(noticeDate, effectiveDate)}');

  // Healthy Homes categories
  print('Standards: ${healthyHomesCategories().join(", ")}');
}
0
likes
150
points
7
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

New Zealand tenancy and property utilities. Bond calculations, rent increase validation, healthy homes compliance checks, and Tenancy Services reference data for NZ landlords and tenants.

Homepage
Repository (GitHub)

License

MIT (license)

More

Packages that depend on nz_rental_tools