how to add exetension methods dart code example
Example: dart extension
extension FancyNum on num {
num plus(num other) => this + other;
num times(num other) => this * other;
}
extension FancyNum on num {
num plus(num other) => this + other;
num times(num other) => this * other;
}