subtract method

dynamic subtract(
  1. dynamic lhs
)

Implementation

dynamic subtract(dynamic lhs) {
  amount = amount * -1;
  final returnValue = add(lhs);
  amount = amount * -1;
  return returnValue;
}