Calculator class

A Calculator.

Constructors

Calculator.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(int a, int b) int
Adds two numbers.
divide(int a, int b) double
Divides two numbers.
multiply(int a, int b) int
Multiplies two numbers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subtract(int a, int b) int
Subtracts two numbers.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited