niki_util 2.0.0
niki_util: ^2.0.0 copied to clipboard
A simple utility package for learning Dart package development and publishing. Includes basic math operations and utilities.
2.0.0 - 2026-01-22 #
โ ๏ธ BREAKING CHANGES #
- Changed
add()return type frominttoString- Old:
int add(int a, int b)returned the numeric sum - New:
String add(int a, int b)returns formatted string like "Sum is : 8" - Migration: Change your code to expect
Stringinstead ofint
- Old:
Example Migration #
// Before (v1.0.0):
int result = math.add(5, 3); // result = 8
print(result + 2); // prints 10
// After (v2.0.0):
String result = math.add(5, 3); // result = "Sum is : 8"
print(result); // prints "Sum is : 8"
1.0.0 - 2026-01-22 #
- ๐ Initial release
- โจ Added
NikiMathclass with basic math operations - โ Implemented
addmethod for integer addition - ๐ Added comprehensive documentation
- โ Included example code
- ๐งช Added unit tests
- ๐ Added MIT License